/* BFG login branding. Retains the provider's original form templates and security controls. */
:root {color-scheme:light;--bfg-charcoal:#17181c;--bfg-gold:#d8bb82;--bfg-ink:#202126;--bfg-canvas:#f6f3ec;--bfg-line:#dfd7c8;--bfg-action:#806020;}
html.login-pf {min-height:100%;background:var(--bfg-charcoal);}
.login-pf body {min-height:100vh;margin:0;background:radial-gradient(ellipse at 15% 0,rgba(183,145,76,.15),transparent 48%),linear-gradient(145deg,#202126,#111216 75%);background-attachment:fixed;color:var(--bfg-ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;}
.login-pf-page {padding:30px 18px 40px;}
#kc-header {margin:0 auto 22px;color:var(--bfg-gold);max-width:520px;}
#kc-header-wrapper {padding:0;font-size:0;line-height:1;text-align:center;text-transform:none;letter-spacing:normal;color:var(--bfg-gold);}
#kc-header-wrapper::before {content:"";display:block;width:190px;height:150px;margin:0 auto 15px;background:url('../img/bfg-logo.png') center/contain no-repeat;}
#kc-header-wrapper::after {content:"PRIVATE AGENT HUB";display:block;font-size:12px;font-weight:700;line-height:1.6;letter-spacing:.2em;color:#e0c792;}
.login-pf-page .card-pf {width:100%;max-width:480px;margin:0 auto;padding:30px 34px;background:var(--bfg-canvas);border:1px solid #c5a465;border-top:4px solid #c9a45d;border-radius:16px;box-shadow:0 22px 70px #0006;}
.login-pf-page .login-pf-header {margin:0 0 24px;}
#kc-page-title {margin:0;font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:500;line-height:1.25;color:var(--bfg-ink);}
#kc-content,#kc-content-wrapper {color:var(--bfg-ink);}
.login-pf-page label {color:#45414a;font-weight:600;font-size:14px;}
.login-pf-page input.form-control:not([type='checkbox']):not([type='radio']),.login-pf-page input.pf-c-form-control:not([type='checkbox']):not([type='radio']),#username,#password,#password-new,#password-confirm,#otp,#totp {min-height:46px;border:1px solid #9d927d;border-radius:8px;background:#fff;color:var(--bfg-ink);box-shadow:none;font-size:16px;padding:10px 12px;}
.login-pf-page .pf-c-input-group {border-radius:8px;}
.login-pf-page .pf-c-input-group input {border-radius:8px 0 0 8px!important;}
.login-pf-page button.pf-c-button.pf-m-control {min-height:46px;border:1px solid #9d927d;border-left:0;border-radius:0 8px 8px 0;background:#eee9de;color:#4a3917;}
#kc-login,#kc-form-buttons input[type='submit'],.login-pf-page .pf-c-button.pf-m-primary,.login-pf-page .btn-primary {min-height:46px;border:1px solid #b38b44;border-radius:8px;background:#c9a45d;color:#191a1e;font-size:15px;font-weight:700;box-shadow:none;text-shadow:none;white-space:normal;}
#kc-login:hover,#kc-form-buttons input[type='submit']:hover,.login-pf-page .pf-c-button.pf-m-primary:hover,.login-pf-page .btn-primary:hover {background:#d8bb82;border-color:#c9a45d;color:#191a1e;}
.login-pf-page .pf-c-button.pf-m-secondary {min-height:44px;border:1px solid #ad8b4d;border-radius:8px;background:#f2ead8;color:#624717;}
a,a:visited {color:var(--bfg-action);text-decoration:underline;text-underline-offset:3px;}
a:hover {color:#624717;}
input:focus-visible,a:focus-visible,button:focus-visible,select:focus-visible {outline:3px solid #806020;outline-offset:3px;box-shadow:none;}
.login-pf-page .checkbox input {accent-color:#806020;}
#kc-form-options {margin-top:4px;}
#kc-info-wrapper {padding:20px;background:#eee9de;border:1px solid var(--bfg-line);border-radius:10px;color:#53515a;}
#kc-info {margin:24px 0 0;}
#kc-form-login .form-group {margin-bottom:20px;}
#kc-form-buttons {margin-top:22px;}
#kc-form-buttons .btn {width:100%;}
#kc-totp-settings {padding-left:20px;}
#kc-totp-settings li {margin-bottom:14px;}
#kc-totp-secret-qr-code {max-width:100%;height:auto;background:#fff;}
#kc-username {color:var(--bfg-ink);}
.pf-c-alert {border-radius:8px;line-height:1.5;}
.bfg-ai-help {margin-top:26px;padding-top:20px;border-top:1px solid var(--bfg-line);font-size:14px;line-height:1.5;}
.bfg-ai-help>a:first-child {display:inline-block;padding:11px 15px;border:1px solid #c4ac7a;border-radius:8px;background:#f2ead8;color:#624717;text-decoration:none;font-weight:700;}
.bfg-ai-help>a:first-child:hover {background:#e9dbbc;}
.bfg-ai-help p {margin:12px 0;color:#69656a;font-size:12px;line-height:1.6;}
@media(max-width:600px){.login-pf-page{padding:22px 16px 30px;}#kc-header{margin-bottom:20px;}#kc-header-wrapper::before{width:158px;height:125px;margin-bottom:12px;}.login-pf-page .card-pf{padding:26px 22px;border-radius:14px;}#kc-page-title{font-size:25px;}#kc-info-wrapper{padding:16px;}#kc-form-options .checkbox{margin-bottom:12px;}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;}}
