:root { --aurora-red:#f22929; --aurora-red-dark:#d91f25; --aurora-ink:#16171a; --aurora-muted:#6f737b; --aurora-soft:#f6f6f4; --aurora-line:#e7e7e5; }
* { box-sizing:border-box; }
html,body { width:100%;height:100%;margin:0;overflow:hidden; }
body { background:#fff;color:var(--aurora-ink);font-family:'Public Sans',sans-serif; }
.container-xxl { width:100%!important;max-width:none!important;height:100%!important;padding:0!important;margin:0!important; }
.authentication-wrapper { width:100%!important;height:100dvh!important;min-height:0!important;padding:0!important;margin:0!important;display:block!important; }
.aurora-login-shell { width:100%;height:100dvh;display:grid;grid-template-columns:minmax(600px,59%) minmax(390px,41%);overflow:hidden;background:#fff; }
.aurora-update-panel { position:relative;z-index:1;height:100%;padding:clamp(30px,4.2vw,68px) clamp(62px,7vw,112px) clamp(28px,4vw,60px) clamp(34px,5.3vw,86px);color:#fff;background:var(--aurora-red);clip-path:polygon(0 0,100% 0,91% 100%,0 100%); }
.update-content { display:flex;flex-direction:column;height:100%;max-width:780px; }
.release-top { display:flex;align-items:center;justify-content:space-between;gap:20px; }
.release-brand { display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none; }
.release-brand img { display:block;width:auto;height:clamp(36px,4.3vh,50px);max-width:190px;object-fit:contain; }
.release-status { display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap; }
.release-status-dot { width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.16); }
.release-hero { margin-top:clamp(28px,6vh,64px); }
.release-meta { display:flex;align-items:flex-end;gap:16px;margin-bottom:12px; }
.version-number { font-size:clamp(54px,8.7vw,116px);font-weight:800;line-height:.78;letter-spacing:-.085em;color:#fff; }
.version-date { padding-bottom:4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.75); }
.update-title { max-width:660px;margin:0;font-size:clamp(30px,3.1vw,52px);line-height:1.02;letter-spacing:-.055em;color:#fff; }
.update-copy { max-width:620px;margin:14px 0 0;font-size:clamp(13px,1.05vw,16px);line-height:1.55;color:rgba(255,255,255,.82); }
.updates-label { display:flex;align-items:center;gap:10px;margin:clamp(22px,4vh,42px) 0 10px;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.72); }
.updates-label::after { content:"";height:1px;flex:1;background:rgba(255,255,255,.3); }
.update-list { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0; }
.update-item { min-width:0;padding:14px 14px 13px;border:1px solid rgba(255,255,255,.25);background:rgba(108,0,0,.12); }
.update-item i { display:block;margin-bottom:10px;font-size:20px;color:#fff; }
.update-item strong { display:block;font-size:13px;line-height:1.25;color:#fff; }
.update-item small { display:block;margin-top:5px;font-size:11px;line-height:1.42;color:rgba(255,255,255,.72); }
.release-footer { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:auto;padding-top:16px;font-size:11px;color:rgba(255,255,255,.7); }
.release-footer strong { color:#fff; }
.release-tag { padding:7px 10px;border:1px solid rgba(255,255,255,.35);font-weight:700;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap; }
.aurora-login-area { position:relative;height:100%;padding:clamp(26px,4vw,62px) clamp(28px,5vw,78px) clamp(22px,3vw,48px) clamp(18px,3vw,48px);display:flex;align-items:center;background:#fff; }
.login-wrap { width:min(100%,460px);margin:0 auto; }
.login-security { display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-bottom:clamp(20px,4vh,44px);font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--aurora-muted); }
.login-security i { color:var(--aurora-red); }
.aurora-login-area .card { border:0!important;box-shadow:none!important;margin:0!important;max-width:none!important;background:transparent!important; }
.aurora-login-area .card-body { padding:0!important; }
.app-brand { display:none!important; }
.login-heading { margin-bottom:clamp(18px,3vh,28px); }
.login-heading h2 { margin:0 0 7px;font-size:clamp(27px,2.4vw,38px);line-height:1.08;letter-spacing:-.045em;text-align:left!important; }
.login-heading p { margin:0!important;text-align:left!important;font-size:14px;color:var(--aurora-muted)!important; }
.btn-primary { min-height:50px;border:0;border-radius:8px;background:var(--aurora-red);font-weight:700;box-shadow:0 10px 24px rgba(242,41,41,.18);transition:transform .2s ease,background .2s ease,box-shadow .2s ease; }
.btn-primary:hover { background:var(--aurora-red-dark);transform:translateY(-1px);box-shadow:0 14px 28px rgba(242,41,41,.23); }
.form-label { margin-bottom:7px;font-size:12px;font-weight:700;color:#34363b; }
.form-control,.input-group-text { min-height:50px;border-color:var(--aurora-line);background:#fff; }
.form-control { border-radius:8px;font-size:14px; }
.input-group .form-control { border-radius:8px 0 0 8px; }
.input-group-text { border-radius:0 8px 8px 0;color:#787b82; }
.form-control:focus { border-color:var(--aurora-red);box-shadow:0 0 0 .2rem rgba(242,41,41,.09); }
.form-check-input:checked { background-color:var(--aurora-red);border-color:var(--aurora-red); }
.nav-tabs { justify-content:flex-start!important;margin-bottom:22px!important;border-bottom:1px solid var(--aurora-line); }
.nav-tabs .nav-link { padding:9px 0;margin-right:24px;border:0!important;border-bottom:2px solid transparent!important;color:var(--aurora-muted);font-size:13px;font-weight:700;background:transparent!important; }
.nav-tabs .nav-link.active { color:var(--aurora-red);border-bottom-color:var(--aurora-red)!important; }
.forgot-link { color:var(--aurora-ink);font-size:13px;font-weight:600;text-decoration:none; }
.forgot-link:hover { color:var(--aurora-red); }
.companies-list { max-height:245px;overflow-y:auto;padding-right:4px; }
.company-card { cursor:pointer;margin-bottom:9px!important;padding:12px!important;border:1px solid var(--aurora-line)!important;border-radius:9px!important;box-shadow:none!important;transition:border-color .2s ease,background .2s ease,transform .2s ease; }
.company-card:hover { border-color:#ffc3c3!important;background:#fff8f7!important;transform:translateX(3px); }
.company-card.selected { border-color:var(--aurora-red)!important;background:#fff3f2!important; }
.company-icon { width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:var(--aurora-red);color:#fff;font-size:17px; }
.company-card.selected .company-icon { background:var(--aurora-ink); }
.company-selected-mark { color:var(--aurora-red);font-size:19px; }
.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}
@media (max-height:760px) and (min-width:981px) {
    .aurora-update-panel { padding-top:26px;padding-bottom:24px; }
    .release-hero { margin-top:22px; }
    .version-number { font-size:72px; }
    .update-title { font-size:32px; }
    .update-copy { margin-top:9px;font-size:13px; }
    .updates-label { margin-top:18px; }
    .update-item { padding:11px; }
    .update-item i { margin-bottom:6px; }
    .login-security { margin-bottom:18px; }
    .login-heading { margin-bottom:14px; }
    .nav-tabs { margin-bottom:16px!important; }
    .form-control,.input-group-text,.btn-primary { min-height:44px; }
    .mb-3 { margin-bottom:.72rem!important; }
}
@media (max-width:980px) {
    .aurora-login-shell { grid-template-columns:1fr;grid-template-rows:34% 66%; }
    .aurora-update-panel { padding:22px 28px;clip-path:none; }
    .release-top { align-items:flex-start; }
    .release-brand img { height:32px; }
    .release-hero { margin-top:14px;display:grid;grid-template-columns:auto 1fr;align-items:end;gap:18px; }
    .release-meta { margin:0; }
    .version-number { font-size:54px; }
    .version-date { display:none; }
    .update-title { font-size:24px; }
    .update-copy,.updates-label,.update-list,.release-footer { display:none; }
    .aurora-login-area { padding:18px 26px 20px;align-items:center; }
    .login-wrap { width:min(100%,520px); }
    .login-security { display:none; }
    .login-heading { margin-bottom:13px; }
    .login-heading h2 { font-size:26px; }
    .nav-tabs { margin-bottom:14px!important; }
    .form-control,.input-group-text,.btn-primary { min-height:44px; }
    .mb-3 { margin-bottom:.65rem!important; }
}
@media (max-width:520px) {
    .aurora-login-shell { grid-template-rows:28% 72%; }
    .aurora-update-panel { padding:18px 20px; }
    .release-status { font-size:9px; }
    .release-hero { display:block;margin-top:12px; }
    .release-meta { margin-bottom:8px; }
    .version-number { font-size:46px; }
    .update-title { max-width:330px;font-size:20px; }
    .aurora-login-area { padding:14px 20px 18px; }
    .login-heading h2 { font-size:23px; }
    .login-heading p { font-size:12px; }
    .companies-list { max-height:170px; }
}

/* Horizon release: retains the existing forms and company selection styles. */
html,body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}
.authentication-wrapper{height:auto!important;min-height:100dvh!important}
.aurora-login-shell{height:auto;min-height:100dvh;grid-template-columns:minmax(0,1.25fr) minmax(360px,1fr);overflow:visible}
.aurora-update-panel{height:auto;clip-path:none;padding:40px clamp(28px,4.2vw,76px);background:linear-gradient(145deg,#39171f 0%,#641d2b 58%,#b62937 100%)}
.update-content{max-width:760px;margin:auto}
.release-brand img{height:40px;max-width:150px;border-radius:6px}
.release-status{font-size:10px;letter-spacing:.06em;color:#f8d8da;white-space:normal}
.release-status-dot{flex:0 0 6px;width:6px;height:6px;background:#ff9297;box-shadow:0 0 0 4px #ffffff0d}
.release-hero{margin-top:38px}
.release-meta{gap:10px;align-items:center;margin-bottom:20px}
.version-number{font-size:12px;line-height:1;letter-spacing:.02em;font-weight:600;padding:6px 9px;border:1px solid #ffffff38;border-radius:5px}
.version-date{font-size:10px;padding:0;color:#e8bec5;letter-spacing:.12em}
.horizon-eyebrow{font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#ffadb5;margin:0 0 16px;display:flex;align-items:center;gap:8px}
.horizon-eyebrow i{font-size:17px}
.update-title{font-size:clamp(34px,3.5vw,56px);font-weight:600;line-height:1.09;letter-spacing:-.045em;max-width:590px;text-wrap:balance}
.update-copy{font-size:14px;line-height:1.7;color:#efd9dc;max-width:530px;margin-top:18px}
.horizon-login-demo{margin:28px 0 0;padding:20px;border:1px solid #ffffff24;border-radius:16px;background:#26151bc4;box-shadow:0 16px 40px #200b1626}
.horizon-login-demo figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#fff;font-size:13px;font-weight:700}
.horizon-login-demo figcaption i{color:#ffa4b0;margin-right:5px}
.horizon-login-demo figcaption small{font-size:10px;font-weight:400;color:#dbc3ca}
.horizon-demo-question{margin:20px 0 18px auto;padding:11px 15px;border-radius:12px 12px 3px 12px;background:#79414e;color:#fff;width:fit-content;max-width:90%;font-size:12px;line-height:1.5}
.horizon-demo-answer{display:flex;gap:12px;font-size:12px;line-height:1.6;color:#e4cdd3}
.horizon-demo-answer strong{color:#fff;font-size:13px;font-weight:600}
.horizon-demo-answer p{margin:5px 0 12px}
.horizon-demo-avatar{display:grid;place-items:center;flex:0 0 30px;height:30px;background:#f8d9df;color:#651b2a;border-radius:9px}
.horizon-demo-source{font-size:10px;color:#f0bfc9;display:flex;align-items:center;gap:6px}
.horizon-demo-prompts{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid #ffffff17}
.horizon-demo-prompts span{font-size:10px;border:1px solid #ffffff26;border-radius:6px;padding:6px 8px;color:#e9d3d9}
.updates-label{margin:24px 0 12px;font-size:9px;color:#ebc4cb}
.update-list{gap:16px}
.update-item{border:0;border-top:1px solid #ffffff30;background:none;padding:14px 0 0}
.update-item i{font-size:17px;color:#ffb4be;margin-bottom:8px}
.update-item strong{font-size:12px;font-weight:600}
.update-item small{font-size:11px;color:#f0d5da;line-height:1.55}
.release-footer{font-size:9px;gap:16px;padding-top:30px;align-items:flex-start;color:#eccbd1}
.release-tag{border:0;padding:0;font-size:9px;white-space:normal;letter-spacing:0;text-transform:none;text-align:right}
.aurora-login-area{height:auto;min-width:0;padding:48px clamp(28px,4.5vw,76px);background:#fffdfb}
.login-wrap{max-width:400px}
.login-security{justify-content:flex-start;margin-bottom:32px;font-size:11px}
.login-heading h2{font-weight:600;font-size:32px;letter-spacing:-.045em}
.login-heading p{line-height:1.6;font-size:13px}
.form-control{font-size:16px}
.form-control,.input-group-text{min-height:50px}
.aurora-login-area .tab-content{padding:0;box-shadow:none;background:transparent}
.aurora-login-area :is(button,a,input):focus-visible{outline:3px solid #b52945;outline-offset:3px}
.toggle-password{cursor:pointer}
@media(min-width:981px) and (min-height:960px){.aurora-update-panel{padding-top:60px;padding-bottom:52px}.release-hero{margin-top:64px}.horizon-login-demo{margin-top:36px}}
@media(max-width:1100px) and (min-width:981px){.aurora-update-panel{padding:32px}.aurora-login-area{padding:36px}.update-title{font-size:38px}.release-status{max-width:120px}.update-list{gap:12px}}
@media(max-width:980px){
 .aurora-login-shell{grid-template-columns:1fr;grid-template-rows:auto auto}
 .aurora-login-area{order:-1;padding:32px 24px 40px}
 .aurora-login-area .app-brand{display:flex!important;justify-content:flex-start!important;margin-bottom:28px!important}
 .aurora-login-area .app-brand-text{display:none}
 .login-wrap{max-width:440px}.login-security{display:none}
 .aurora-update-panel{padding:32px 24px}.update-content{max-width:600px}
 .release-hero{display:block;margin-top:24px}.release-meta{margin-bottom:18px}
 .version-number{font-size:12px}.version-date{display:inline}
 .update-title{max-width:540px;font-size:38px}.update-copy{display:block;font-size:14px}
 .updates-label,.release-footer{display:flex}.update-list{display:grid}
 .horizon-login-demo{margin-top:24px}.release-footer{padding-top:24px}
 .companies-list{max-height:260px}
}
@media(max-width:520px){
 .aurora-login-area{padding:28px 22px 34px}.login-heading h2{font-size:29px}.login-heading p{font-size:13px}
 .aurora-update-panel{padding:28px 22px}.update-title{font-size:33px}
 .release-status{max-width:132px;font-size:9px}.release-brand img{height:32px}
 .horizon-eyebrow{font-size:9px;letter-spacing:.08em}.horizon-login-demo{padding:16px}
 .update-list{grid-template-columns:1fr}.update-item{display:grid;grid-template-columns:22px 1fr;column-gap:10px;padding-top:12px}
 .update-item i{grid-row:span 2;margin:0}.update-item small{grid-column:2}
 .release-footer{flex-direction:column;gap:8px}.release-tag{text-align:left}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
