:root{--logo-bg:linear-gradient(135deg, #2dd4bf, #0d9488);}

/* Shared styling for sign-in / sign-up: brand panel + form card.
   Loaded after each page's own styles so it wins on equal specificity. */

.login-shell{min-height:100vh;}

/* ---------- Brand panel ---------- */
.login-brand.auth-brand{
  position:relative; overflow:hidden; display:none; color:#d3dfee;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(79,163,255,0.28), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(47,111,196,0.35), transparent 60%),
    #143357;
  padding:0;
}
.login-brand.auth-brand::before{
  content:""; position:absolute; inset:0; pointer-events:none; display:block;
  background-image:
    linear-gradient(rgba(143,195,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,195,255,0.08) 1px, transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
          mask-image:radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  opacity:1;
}
@media (min-width:900px){
  .login-brand.auth-brand{display:flex !important; flex:0 0 52%; width:52%; max-width:none; min-width:460px; flex-direction:column;}
}
.auth-brand-inner{position:relative; z-index:1; display:flex; flex-direction:column; gap:22px; width:100%; max-width:600px; margin:0 auto; padding:36px 48px 28px; min-height:100vh; animation:none !important; opacity:1 !important;}
.ab-logo{display:flex; align-items:center; gap:10px; color:#fff; font-size:17px; font-weight:700; letter-spacing:-0.01em; text-decoration:none;}
.ab-logo:hover{color:#fff; text-decoration:none;}
.ab-logo .logo-mark{width:30px; height:30px; border-radius:6px; background:var(--logo-bg); display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 1px rgba(255,255,255,0.18) inset;}
.ab-copy{margin-top:8px;}
.ab-headline{margin:0; font-size:30px; line-height:1.2; font-weight:700; letter-spacing:-0.02em; color:#fff; max-width:480px;}
.ab-sub{margin:12px 0 0; font-size:14.5px; line-height:1.6; color:#b9cde4; max-width:470px;}
.ab-art{flex:1; display:flex; align-items:center; justify-content:center; min-height:260px; max-height:420px;}
.ab-art svg{max-width:520px; height:auto; filter:drop-shadow(0 18px 40px rgba(5,20,40,0.45));}
.ab-list{list-style:none; margin:0; padding:0; border-top:1px solid rgba(143,195,255,0.22);}
.ab-list li{display:flex; gap:16px; align-items:baseline; padding:10px 0; border-bottom:1px solid rgba(143,195,255,0.14); font-size:13px;}
.ab-list b{flex:0 0 42px; font-size:12px; letter-spacing:0.08em; color:#7cc0ff;}
.ab-list span{color:#d3dfee;}
.ab-list em{font-style:normal; font-size:11px; color:#8fb4da; border:1px solid rgba(143,195,255,0.35); padding:0 6px; border-radius:3px; margin-left:6px;}
.ab-foot{font-size:12px; color:#8fb4da;}
@media (max-height:760px){ .ab-art{min-height:200px;} .ab-headline{font-size:26px;} }

/* ---------- Form side ---------- */
.login-form-panel{background:#f3f6fa !important; position:relative; padding:32px 24px !important;}
.login-card{
  background:#fff !important; border:1px solid #dbe3ee !important; border-radius:8px !important;
  box-shadow:0 1px 2px rgba(15,28,46,0.04), 0 18px 40px -22px rgba(20,51,87,0.35) !important;
  padding:34px 36px !important; width:100%; max-width:420px;
}
.login-form-wrap{max-width:420px !important; width:100%;}
.auth-eyebrow{display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:#2f6fc4; margin-bottom:10px;}
.auth-eyebrow::before{content:""; width:18px; height:2px; background:#2f6fc4; border-radius:1px;}
.login-title{font-size:24px !important; font-weight:700 !important; letter-spacing:-0.02em; color:#12263f;}
.login-title-sub{font-size:13.5px !important; color:#5b6b80 !important; margin:6px 0 22px !important;}
.field-input{height:40px !important; border:1px solid #cdd7e4 !important; border-radius:6px !important; background:#fbfcfe !important; padding:0 12px !important;}
.field-input:hover{border-color:#a9b9cf !important;}
.field-input:focus-within{background:#fff !important; border-color:#2f6fc4 !important; box-shadow:0 0 0 3px rgba(47,111,196,0.18) !important;}
.field-input svg{color:#7d8ea5 !important; width:16px; height:16px;}
.field-input:focus-within svg:first-child{color:#2f6fc4 !important;}
.field-label{font-size:12.5px !important; font-weight:600 !important; color:#2b3b52 !important;}
.btn-login{
  height:42px !important; border-radius:6px !important; font-size:14px !important; font-weight:600 !important;
  background:linear-gradient(180deg, #2f6fc4, #1f5fbf) !important; border:1px solid #174b98 !important;
  box-shadow:0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 14px -6px rgba(31,95,191,0.7) !important;
}
.btn-login:hover{background:linear-gradient(180deg, #2a67b8, #1a55ac) !important;}
.login-footer-link{border-top:1px solid #e6ecf4 !important; color:#5b6b80 !important; margin-top:20px; padding-top:16px; text-align:center;}
.auth-trust{display:flex; align-items:center; justify-content:center; gap:7px; margin-top:16px; font-size:12px; color:#7d8ea5;}

/* Mobile: compact brand strip above the form */
.auth-mobile-brand{display:flex; align-items:center; gap:10px; padding:16px 20px; background:#143357; color:#fff; font-weight:700; font-size:16px;}
.auth-mobile-brand .logo-mark{width:26px; height:26px; border-radius:5px; background:var(--logo-bg); display:flex; align-items:center; justify-content:center;}
@media (min-width:900px){ .auth-mobile-brand{display:none;} }
.login-mobile-logo{display:none !important;}

.login-shell{display:flex; flex-direction:column;}
@media (min-width:900px){ .login-shell{flex-direction:row;} }
.login-form-panel{flex:1; display:flex; align-items:center; justify-content:center;}
