:root{
  --navy:#08245f;
  --blue:#0c4fa4;
  --teal:#06aaa4;
  --text:#0c2862;
  --muted:#5571a3;
  --line:#d8e2ef;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;font-family:"Segoe UI",Arial,sans-serif;color:var(--text);background:#edf5fb}
body{overflow:hidden}
.page-shell{width:100vw;height:100vh;display:flex;flex-direction:column;overflow:hidden}

/* Main area */
.login-stage{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:48.1% 51.9%;background:linear-gradient(135deg,#eaf4fb 0%,#dcebf6 55%,#f4f8fb 100%)}
.hero-panel{position:relative;min-width:0;min-height:0;overflow:hidden;background:#e7f2f9}
.hero-image{display:block;width:100%;height:100%;object-fit:fill;object-position:center}

.form-panel{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px 46px;background:radial-gradient(circle at 15% 12%,#d8eaf7 0 18%,transparent 42%),linear-gradient(135deg,#cfe3f1 0%,#f8fbfd 70%)}
.login-card{position:relative;width:min(676px,100%);background:rgba(255,255,255,.985);border-radius:22px;padding:88px 48px 22px;box-shadow:0 16px 40px rgba(37,82,123,.18);border:1px solid rgba(255,255,255,.9)}
.brand-seal{position:absolute;left:50%;top:-42px;transform:translateX(-50%);width:116px;height:116px;border-radius:50%;background:#fff;padding:10px;box-shadow:0 10px 24px rgba(28,70,110,.18);border:8px solid #f7f9fc;display:grid;place-items:center}
.brand-seal img{width:100%;height:100%;object-fit:contain;border-radius:50%}

.welcome{text-align:center;margin:0 0 26px}.welcome h1{font-size:36px;line-height:1.05;margin:0 0 8px;color:#071c4b;font-weight:800;letter-spacing:-.7px}.welcome p{margin:0;color:#6175a4;font-size:17px}.mini-rule{display:block;width:42px;height:3px;background:var(--teal);margin:17px auto 0;border-radius:4px}
.alert-error{margin:-6px 0 14px;padding:10px 14px;border:1px solid #f4c6c6;background:#fff4f4;color:#a71d2a;border-radius:10px;font-size:14px}
.login-form label{display:block;font-size:15px;font-weight:700;margin:0 0 8px;color:#0d2255}.field-wrap{position:relative;margin-bottom:20px}.field-wrap input{width:100%;height:58px;border:1px solid #b8c8dc;border-radius:10px;background:white;padding:0 54px 0 58px;color:#183a79;font-size:16px;outline:none;transition:.2s}.field-wrap input:focus{border-color:#2299bb;box-shadow:0 0 0 4px rgba(6,170,164,.10)}.field-wrap input::placeholder{color:#6680ad}.field-icon{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:23px;height:23px}.field-icon svg,.eye-btn svg{width:100%;height:100%;fill:#20549b}.eye-btn{position:absolute;right:16px;top:50%;transform:translateY(-50%);border:0;background:none;width:28px;height:28px;padding:3px;cursor:pointer;opacity:.78}.eye-btn.active{opacity:1}
.form-options{display:flex;justify-content:space-between;align-items:center;margin:-2px 0 22px;font-size:14px}.remember{display:flex!important;align-items:center;gap:10px;margin:0!important;font-weight:500!important}.remember input{width:18px;height:18px;accent-color:var(--teal)}.form-options a,.contact-admin{color:#039f9b;text-decoration:none}.signin-btn{width:100%;height:64px;border:0;border-radius:10px;background:linear-gradient(90deg,#10499c 0%,#0b6fa7 48%,#08afa5 100%);color:white;font-size:20px;font-weight:800;letter-spacing:.7px;cursor:pointer;box-shadow:0 10px 22px rgba(15,74,151,.22);transition:.18s}.signin-btn:hover{transform:translateY(-1px);filter:saturate(1.06)}.lock-mini{font-size:18px;margin-right:12px}
.help-divider{display:flex;align-items:center;gap:18px;color:#687ba4;margin:24px 0 11px;font-size:14px}.help-divider:before,.help-divider:after{content:"";height:1px;background:#d8e1ec;flex:1}.contact-admin{display:block;text-align:center;margin-bottom:18px;font-size:15px}.secure-box{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:13px;border:1px solid #dce7f0;background:linear-gradient(90deg,#f8fbfe,#f0f5fa);padding:14px 18px;border-radius:12px}.secure-box strong{display:block;font-size:14px;letter-spacing:.2px}.secure-box small{display:block;color:#6176a2;margin-top:5px;font-size:13px}.shield{font-size:30px;color:#079eb4}.big-lock{font-size:25px;opacity:.28;text-align:right}

/* Footer */
.site-footer{flex:0 0 134px;height:134px;background:linear-gradient(90deg,#062258 0%,#061c4a 100%);color:#fff;padding:17px 12vw 9px}.footer-top{height:74px;display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr;align-items:center;gap:28px;border-bottom:1px solid rgba(255,255,255,.14)}.footer-sep{height:45px;background:rgba(255,255,255,.35)}.footer-item{display:flex;align-items:center;justify-content:center;gap:16px}.footer-item b{display:block;font-size:14px;margin-bottom:5px}.footer-item small{font-size:12px;line-height:1.45;color:#dbe6f5}.footer-icon{font-size:30px}.footer-bottom{text-align:center;color:#d8e4f3;font-size:12px;padding-top:10px}

@media (max-width:1100px){.login-stage{grid-template-columns:46% 54%}.form-panel{padding-left:28px;padding-right:28px}.login-card{padding-left:34px;padding-right:34px}.site-footer{padding-left:5vw;padding-right:5vw}}

/* Precision layout for 1366x768 / 1440x900 laptops */
@media (max-height:760px) and (min-width:851px){
  .site-footer{flex-basis:92px;height:92px;padding:7px 8vw 4px}
  .footer-top{height:55px;gap:20px}
  .footer-sep{height:35px}
  .footer-item{gap:11px}
  .footer-icon{font-size:24px}
  .footer-item b{font-size:12px;margin-bottom:2px}
  .footer-item small{font-size:10px;line-height:1.25}
  .footer-bottom{font-size:10px;padding-top:6px}
  .form-panel{padding:12px 46px 10px}
  .login-card{width:min(620px,100%);border-radius:19px;padding:62px 42px 14px}
  .brand-seal{width:90px;height:90px;top:-28px;padding:7px;border-width:6px}
  .welcome{margin-bottom:16px}
  .welcome h1{font-size:29px;margin-bottom:5px}
  .welcome p{font-size:15px}
  .mini-rule{margin-top:12px;width:36px;height:2px}
  .login-form label{font-size:13px;margin-bottom:6px}
  .field-wrap{margin-bottom:12px}
  .field-wrap input{height:47px;font-size:14px;padding-left:50px}
  .field-icon{left:16px;width:20px;height:20px}
  .form-options{margin:0 0 13px;font-size:12px}
  .remember input{width:15px;height:15px}
  .signin-btn{height:50px;font-size:18px}
  .help-divider{margin:13px 0 7px;font-size:12px}
  .contact-admin{font-size:13px;margin-bottom:11px}
  .secure-box{grid-template-columns:34px 1fr 34px;padding:9px 13px;gap:9px}
  .secure-box strong{font-size:12px}.secure-box small{font-size:11px;margin-top:2px}.shield{font-size:24px}.big-lock{font-size:21px}
}

@media (max-width:850px){body{overflow:auto}.page-shell{height:auto;min-height:100vh;overflow:visible}.login-stage{display:block;min-height:calc(100vh - 105px)}.hero-panel{display:none}.form-panel{min-height:calc(100vh - 105px);padding:72px 18px 30px}.login-card{padding:94px 24px 24px}.brand-seal{width:108px;height:108px;top:-35px}.welcome h1{font-size:31px}.site-footer{height:auto;flex-basis:auto;padding:18px}.footer-top{display:flex;height:auto;flex-direction:column;gap:16px;padding-bottom:16px}.footer-sep{display:none}.footer-item{justify-content:flex-start;width:260px}.footer-bottom{padding-bottom:6px}}

/* =========================================================
   GDC RESPONSIVE PRECISION PASS v3
   Designed for 1366x768, 1400x900, 1440x900, Full HD+
   ========================================================= */
@media (min-width:851px){
  .login-stage{grid-template-columns:minmax(560px,48.1%) minmax(0,51.9%)}
  .form-panel{padding:clamp(10px,2.2vh,24px) clamp(24px,3.2vw,52px)}
  .login-card{
    width:min(676px,100%);
    max-height:calc(100vh - 150px);
    padding:clamp(58px,8.2vh,88px) clamp(34px,3.2vw,48px) clamp(12px,2vh,22px);
  }
  .welcome{margin-bottom:clamp(14px,2.5vh,26px)}
  .welcome h1{font-size:clamp(28px,2.35vw,36px)}
  .welcome p{font-size:clamp(14px,1.12vw,17px)}
  .field-wrap{margin-bottom:clamp(11px,1.8vh,20px)}
  .field-wrap input{height:clamp(46px,6.1vh,58px)}
  .signin-btn{height:clamp(49px,6.7vh,64px)}
  .help-divider{margin:clamp(12px,2.2vh,24px) 0 clamp(7px,1.1vh,11px)}
  .contact-admin{margin-bottom:clamp(10px,1.7vh,18px)}
  .secure-box{padding:clamp(9px,1.45vh,14px) 18px}
}

/* 1366x768 and similar short desktop screens */
@media (min-width:851px) and (max-height:800px){
  .site-footer{flex:0 0 96px;height:96px;padding:7px 7vw 4px}
  .footer-top{height:58px;gap:18px}
  .footer-sep{height:36px}.footer-icon{font-size:24px}
  .footer-item b{font-size:12px;margin-bottom:2px}.footer-item small{font-size:10px;line-height:1.25}
  .footer-bottom{font-size:10px;padding-top:6px}
  .form-panel{padding:10px 3.2vw 8px}
  .login-card{width:min(620px,100%);max-height:calc(100vh - 112px);padding:58px 40px 12px;border-radius:19px}
  .brand-seal{width:88px;height:88px;top:-27px;padding:7px;border-width:6px}
  .welcome{margin-bottom:13px}.welcome h1{font-size:28px;margin-bottom:4px}.welcome p{font-size:14px}
  .mini-rule{margin-top:10px;width:36px;height:2px}
  .login-form label{font-size:12px;margin-bottom:5px}.field-wrap{margin-bottom:10px}
  .field-wrap input{height:44px;font-size:14px;padding-left:48px}.field-icon{left:15px;width:19px;height:19px}
  .form-options{margin:0 0 10px;font-size:12px}.remember input{width:15px;height:15px}
  .signin-btn{height:47px;font-size:17px}.help-divider{margin:10px 0 6px;font-size:11px}
  .contact-admin{font-size:12px;margin-bottom:8px}.secure-box{grid-template-columns:30px 1fr 30px;padding:7px 12px;gap:8px}
  .secure-box strong{font-size:11px}.secure-box small{font-size:10px;margin-top:2px}.shield{font-size:22px}.big-lock{font-size:19px}
}

/* 1400/1440 x 900 gets the spacious reference look */
@media (min-width:1200px) and (min-height:850px){
  .site-footer{flex:0 0 124px;height:124px}
  .login-card{width:min(650px,100%)}
}

/* =========================================================
   ULTRA PREMIUM FOOTER v4
   ========================================================= */
.site-footer{
  position:relative; flex:0 0 126px; height:126px; padding:0 clamp(28px,6vw,96px);
  background:linear-gradient(115deg,#031a49 0%,#06265f 48%,#041b4b 100%);
  box-shadow:0 -8px 28px rgba(2,25,67,.12); overflow:hidden;
}
.site-footer:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 0,rgba(16,174,178,.12),transparent 34%);pointer-events:none}
.footer-accent{position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#08aaa7,#25c9d0 38%,#1a74d4 70%,#08aaa7)}
.footer-main{position:relative;height:88px;display:grid;grid-template-columns:1fr 1fr 1.05fr 1.32fr;align-items:center;border-bottom:1px solid rgba(255,255,255,.13)}
.footer-block,.footer-brand{min-width:0;height:52px;display:flex;align-items:center;gap:13px;padding:0 clamp(16px,2.2vw,34px);border-right:1px solid rgba(255,255,255,.20)}
.footer-block:first-child{padding-left:0}.footer-brand{border-right:0;padding-right:0}
.premium-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid rgba(92,222,224,.48);border-radius:50%;color:#61e0df;font-size:18px;background:rgba(9,181,180,.07)}
.footer-block b{display:block;font-size:12px;line-height:1.15;color:#fff;font-weight:700}.footer-block small{display:block;margin-top:4px;color:#c7d8ee;font-size:10px;line-height:1.35}
.footer-brand img{width:46px;height:46px;object-fit:contain;border-radius:9px;background:#fff;padding:2px;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.footer-brand span{display:block;color:#79dedd;font-size:8px;font-weight:700;letter-spacing:1.05px;margin-bottom:2px}.footer-brand b{display:block;color:#fff;font-size:12px;white-space:nowrap}.footer-brand small{display:block;color:#aebfd9;font-size:9px;margin-top:3px}
.footer-bottom{position:relative;height:35px;padding:0;display:flex;align-items:center;justify-content:center;gap:9px;color:#cbd9ec;font-size:9.5px;white-space:nowrap}
.footer-bottom i{width:1px;height:11px;background:rgba(255,255,255,.32)}.footer-lock{color:#58dedb;font-size:10px}.footer-quality{position:absolute;right:0;color:#6fdcda;font-size:8px;font-weight:700;letter-spacing:.7px}

@media (min-width:851px) and (max-height:800px){
  .site-footer{flex:0 0 104px;height:104px;padding:0 clamp(24px,5.5vw,74px)}
  .footer-main{height:73px}.footer-block,.footer-brand{height:45px;gap:10px;padding:0 clamp(12px,1.8vw,25px)}
  .footer-block:first-child{padding-left:0}.footer-brand{padding-right:0}
  .premium-icon{width:30px;height:30px;flex-basis:30px;font-size:15px}.footer-block b{font-size:10.5px}.footer-block small{font-size:8.5px;margin-top:3px}
  .footer-brand img{width:38px;height:38px}.footer-brand span{font-size:6.8px}.footer-brand b{font-size:10.2px}.footer-brand small{font-size:7.7px}
  .footer-bottom{height:28px;font-size:8.5px;gap:7px}.footer-quality{font-size:7px}
}
@media (max-width:1050px) and (min-width:851px){.footer-quality{display:none}.footer-main{grid-template-columns:1fr 1fr 1fr 1.15fr}.footer-brand b{white-space:normal}}
@media (max-width:850px){
 .site-footer{height:auto;flex-basis:auto;padding:0 20px 14px}.footer-main{height:auto;grid-template-columns:1fr;padding:20px 0 10px}.footer-block,.footer-brand{border-right:0;border-bottom:1px solid rgba(255,255,255,.11);width:100%;padding:11px 0}.footer-brand{border-bottom:0}.footer-bottom{height:auto;min-height:38px;white-space:normal;flex-wrap:wrap;line-height:1.5;padding-top:8px}.footer-quality{display:none}
}

/* ===== FINAL ATLANDIS FOOTER OVERRIDE ===== */
.site-footer{
  position:relative;
  flex:0 0 118px;
  height:118px;
  box-sizing:border-box;
  padding:0 clamp(26px,4vw,64px);
  overflow:hidden;
  background:linear-gradient(110deg,#061e4d 0%,#08285d 55%,#063665 100%);
  color:#fff;
  box-shadow:0 -8px 28px rgba(4,28,70,.12);
}
.site-footer .footer-accent{height:3px;background:linear-gradient(90deg,#08aaa7 0%,#2bd4c9 35%,#2788dc 72%,#08aaa7 100%)}
.site-footer .footer-main{
  height:82px;
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr 1.05fr 1.48fr;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.15);
}
.site-footer .footer-block,.site-footer .footer-brand{
  height:52px;min-width:0;display:flex;align-items:center;gap:11px;
  padding:0 clamp(14px,1.7vw,28px);border-right:1px solid rgba(255,255,255,.18)
}
.site-footer .footer-block:first-child{padding-left:0}
.site-footer .footer-brand{border-right:0;padding-right:0}
.site-footer .premium-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(70,224,219,.65);color:#71e6e2;font-size:16px;background:rgba(18,161,176,.10)}
.site-footer .footer-block b{display:block;color:#fff;font-size:11.5px;font-weight:750;line-height:1.15}
.site-footer .footer-block small{display:block;color:#c9d8ec;font-size:8.8px;line-height:1.4;margin-top:4px}
.site-footer .footer-brand img{width:50px;height:50px;flex:0 0 50px;object-fit:contain;border-radius:11px;background:#fff;padding:3px;box-shadow:0 5px 16px rgba(0,0,0,.24)}
.site-footer .atlandis-copy{min-width:0}
.site-footer .footer-brand span{display:block;color:#6ce0dc;font-size:7.4px;font-weight:800;letter-spacing:1.05px;line-height:1.1;margin-bottom:3px}
.site-footer .footer-brand b{display:block;color:#fff;font-size:12.6px;font-weight:800;line-height:1.15;white-space:nowrap;text-shadow:0 1px 1px rgba(0,0,0,.15)}
.site-footer .footer-brand small{display:block;color:#b9cbe1;font-size:8px;line-height:1.2;margin-top:4px}
.site-footer .footer-bottom{position:relative;height:33px;padding:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#d5e1ef;font-size:8.8px;white-space:nowrap}
.site-footer .footer-bottom i{width:1px;height:10px;background:rgba(255,255,255,.32)}
.site-footer .footer-lock{color:#5ce1dc}
.site-footer .footer-quality{position:absolute;right:0;color:#73e0dd;font-size:6.8px;font-weight:800;letter-spacing:.55px}

/* 1366x768 precision footer */
@media (max-height:800px) and (min-width:851px){
  .site-footer{flex-basis:86px;height:86px;padding:0 48px}
  .site-footer .footer-main{height:59px;grid-template-columns:.94fr .98fr 1.05fr 1.42fr}
  .site-footer .footer-block,.site-footer .footer-brand{height:40px;gap:8px;padding:0 19px}
  .site-footer .footer-block:first-child{padding-left:0}.site-footer .footer-brand{padding-right:0}
  .site-footer .premium-icon{width:25px;height:25px;flex-basis:25px;font-size:12px}
  .site-footer .footer-block b{font-size:9.5px}.site-footer .footer-block small{font-size:7.2px;margin-top:2px;line-height:1.25}
  .site-footer .footer-brand img{width:38px;height:38px;flex-basis:38px;border-radius:8px;padding:2px}
  .site-footer .footer-brand span{font-size:5.8px;letter-spacing:.75px;margin-bottom:2px}
  .site-footer .footer-brand b{font-size:10.5px}
  .site-footer .footer-brand small{font-size:6.4px;margin-top:2px}
  .site-footer .footer-bottom{height:24px;font-size:7.3px;gap:6px}
  .site-footer .footer-quality{font-size:5.6px;letter-spacing:.35px}
}

@media (min-width:851px) and (max-width:1180px){
  .site-footer .footer-brand b{white-space:normal}
  .site-footer .footer-quality{display:none}
}

/* =========================================================
   FOOTER READABILITY FIX v6 - 1366x768 + larger desktops
   ========================================================= */
@media (min-width:851px){
  .site-footer{
    flex:0 0 128px;
    height:128px;
    padding:0 clamp(32px,4.4vw,70px);
  }
  .site-footer .footer-main{
    height:91px;
    grid-template-columns:1fr 1fr 1.08fr 1.52fr;
  }
  .site-footer .footer-block,.site-footer .footer-brand{
    height:61px;
    gap:12px;
    padding:0 clamp(16px,1.8vw,28px);
  }
  .site-footer .premium-icon{
    width:34px;height:34px;flex-basis:34px;font-size:16px;
  }
  .site-footer .footer-block b{
    font-size:13px;
    line-height:1.2;
    margin-bottom:4px;
  }
  .site-footer .footer-block small{
    font-size:10.5px;
    line-height:1.35;
    margin-top:0;
  }
  .site-footer .footer-brand img{
    width:52px;height:52px;flex-basis:52px;
  }
  .site-footer .footer-brand span{
    font-size:8px;
    letter-spacing:.9px;
    margin-bottom:3px;
  }
  .site-footer .footer-brand b{
    font-size:13.5px;
    line-height:1.2;
  }
  .site-footer .footer-brand small{
    font-size:9.5px;
    margin-top:3px;
  }
  .site-footer .footer-bottom{
    height:34px;
    font-size:10px;
    gap:8px;
  }
  .site-footer .footer-quality{
    font-size:7.5px;
  }
}

/* 1366x768 / short desktop: readable, not microscopic */
@media (min-width:851px) and (max-height:800px){
  .site-footer{
    flex:0 0 112px;
    height:112px;
    padding:0 42px;
  }
  .site-footer .footer-main{
    height:78px;
    grid-template-columns:.96fr 1fr 1.08fr 1.48fr;
  }
  .site-footer .footer-block,.site-footer .footer-brand{
    height:55px;
    gap:10px;
    padding:0 18px;
  }
  .site-footer .footer-block:first-child{padding-left:0}
  .site-footer .footer-brand{padding-right:0}
  .site-footer .premium-icon{
    width:31px;height:31px;flex-basis:31px;font-size:14px;
  }
  .site-footer .footer-block b{
    font-size:12px;
    line-height:1.15;
    margin-bottom:4px;
  }
  .site-footer .footer-block small{
    font-size:9.5px;
    line-height:1.3;
    margin-top:0;
  }
  .site-footer .footer-brand img{
    width:46px;height:46px;flex-basis:46px;
    border-radius:9px;padding:2px;
  }
  .site-footer .footer-brand span{
    font-size:7.2px;
    letter-spacing:.8px;
    margin-bottom:3px;
  }
  .site-footer .footer-brand b{
    font-size:12.5px;
    line-height:1.15;
    white-space:nowrap;
  }
  .site-footer .footer-brand small{
    font-size:8.6px;
    line-height:1.2;
    margin-top:3px;
  }
  .site-footer .footer-bottom{
    height:31px;
    font-size:9.4px;
    gap:7px;
  }
  .site-footer .footer-quality{
    font-size:6.8px;
    letter-spacing:.35px;
  }
}

/* More breathing room on 1400x900 / 1440x900 / Full HD */
@media (min-width:1200px) and (min-height:850px){
  .site-footer{flex-basis:138px;height:138px}
  .site-footer .footer-main{height:98px}
  .site-footer .footer-block b{font-size:14px}
  .site-footer .footer-block small{font-size:11.5px}
  .site-footer .footer-brand b{font-size:14.5px}
  .site-footer .footer-brand small{font-size:10px}
  .site-footer .footer-bottom{height:37px;font-size:10.5px}
}

/* =========================================================
   FOOTER READABILITY FIX v7 - FINAL OVERRIDE
   IMPORTANT: Keep this block at the VERY END of login.css
   ========================================================= */

@media (min-width:851px){
  .site-footer{
    flex:0 0 142px !important;
    height:142px !important;
    padding:0 clamp(34px,4vw,64px) !important;
  }
  .site-footer .footer-main{
    height:101px !important;
    grid-template-columns:1fr 1fr 1.08fr 1.55fr !important;
  }
  .site-footer .footer-block,
  .site-footer .footer-brand{
    height:72px !important;
    gap:13px !important;
    padding:0 clamp(15px,1.55vw,24px) !important;
  }
  .site-footer .premium-icon{
    width:38px !important;
    height:38px !important;
    flex:0 0 38px !important;
    font-size:18px !important;
  }
  .site-footer .footer-block b{
    font-size:15px !important;
    line-height:1.18 !important;
    margin-bottom:5px !important;
    font-weight:800 !important;
  }
  .site-footer .footer-block small{
    font-size:12px !important;
    line-height:1.35 !important;
    margin-top:0 !important;
    color:#e1ebf7 !important;
  }
  .site-footer .footer-brand img{
    width:58px !important;
    height:58px !important;
    flex:0 0 58px !important;
    border-radius:11px !important;
    padding:3px !important;
  }
  .site-footer .footer-brand span{
    font-size:9px !important;
    letter-spacing:1px !important;
    margin-bottom:4px !important;
    font-weight:800 !important;
  }
  .site-footer .footer-brand b{
    font-size:16px !important;
    line-height:1.15 !important;
    font-weight:800 !important;
    white-space:nowrap !important;
  }
  .site-footer .footer-brand small{
    font-size:10.5px !important;
    line-height:1.25 !important;
    margin-top:4px !important;
    color:#d4e1f1 !important;
  }
  .site-footer .footer-bottom{
    height:38px !important;
    font-size:11.5px !important;
    gap:9px !important;
    font-weight:500 !important;
  }
  .site-footer .footer-quality{
    font-size:8.5px !important;
    letter-spacing:.45px !important;
  }
}

@media (min-width:851px) and (max-height:800px){
  .site-footer{
    flex:0 0 128px !important;
    height:128px !important;
    padding:0 38px !important;
  }
  .site-footer .footer-main{
    height:90px !important;
    grid-template-columns:.98fr 1fr 1.08fr 1.55fr !important;
  }
  .site-footer .footer-block,
  .site-footer .footer-brand{
    height:66px !important;
    gap:11px !important;
    padding:0 16px !important;
  }
  .site-footer .footer-block:first-child{padding-left:0 !important}
  .site-footer .footer-brand{padding-right:0 !important}
  .site-footer .premium-icon{
    width:35px !important;
    height:35px !important;
    flex-basis:35px !important;
    font-size:16px !important;
  }
  .site-footer .footer-block b{
    font-size:14px !important;
    line-height:1.15 !important;
    margin-bottom:5px !important;
  }
  .site-footer .footer-block small{
    font-size:11px !important;
    line-height:1.32 !important;
  }
  .site-footer .footer-brand img{
    width:54px !important;
    height:54px !important;
    flex-basis:54px !important;
  }
  .site-footer .footer-brand span{
    font-size:8.2px !important;
    letter-spacing:.85px !important;
    margin-bottom:3px !important;
  }
  .site-footer .footer-brand b{
    font-size:15px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
  }
  .site-footer .footer-brand small{
    font-size:9.8px !important;
    line-height:1.2 !important;
    margin-top:3px !important;
  }
  .site-footer .footer-bottom{
    height:35px !important;
    font-size:10.8px !important;
    gap:8px !important;
  }
  .site-footer .footer-quality{
    font-size:7.8px !important;
  }
}

@media (min-width:1200px) and (min-height:850px){
  .site-footer{flex-basis:150px !important;height:150px !important}
  .site-footer .footer-main{height:106px !important}
  .site-footer .footer-block b{font-size:15.5px !important}
  .site-footer .footer-block small{font-size:12.5px !important}
  .site-footer .footer-brand b{font-size:16.5px !important}
  .site-footer .footer-brand small{font-size:11px !important}
  .site-footer .footer-bottom{height:41px !important;font-size:12px !important}
}

/* =========================================================
   GDC VISUAL REFINEMENT v8
   ========================================================= */
.hero-panel{position:relative !important}

.hero-official-logo{
  position:absolute;z-index:5;left:8.35%;top:5.2%;width:10.8%;aspect-ratio:1/1;
  display:grid;place-items:center;border-radius:50%;background:#fff;
  box-shadow:0 4px 13px rgba(18,67,118,.11);
}
.hero-official-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}

.hero-stats-overlay{
  position:absolute;z-index:6;left:5.2%;right:4.3%;bottom:2.3%;min-height:68px;
  display:grid;grid-template-columns:1.08fr 1fr 1.08fr;align-items:center;gap:10px;
  padding:7px 9px;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.94));
  border-radius:18px;box-shadow:0 5px 18px rgba(40,85,128,.09);
}
.hero-stat{min-width:0;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 9px;position:relative}
.hero-stat + .hero-stat:before{content:"";position:absolute;left:-5px;top:10%;bottom:10%;width:1px;background:#cad8e7}
.hero-stat-icon{width:48px;height:48px;flex:0 0 48px;display:block}
.hero-stat-icon svg{display:block;width:100%;height:100%}
.hero-stat-copy{min-width:0;display:block}
.hero-stat-copy strong{display:block;font-size:17px;line-height:1.06;color:#123c82;font-weight:800;white-space:nowrap}
.hero-stat-copy small{display:block;margin-top:4px;font-size:12px;line-height:1.08;color:#375f98;font-weight:600;white-space:nowrap}

.welcome .mini-rule{
  width:96px !important;height:3px !important;margin:14px auto 0 !important;border-radius:10px !important;
  background:linear-gradient(90deg,#10b5ad,#1594bf) !important;
}

.site-footer .footer-gdc-logo{
  width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;
  background:#fff;padding:2px;box-shadow:0 3px 12px rgba(0,0,0,.18);
}
.site-footer .footer-gdc-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}

@media (min-width:851px) and (max-height:800px){
  .hero-official-logo{left:8.2%;top:5.4%;width:10.5%}
  .hero-stats-overlay{left:5%;right:4%;bottom:2.1%;min-height:62px;gap:6px;padding:5px 7px;border-radius:15px}
  .hero-stat{gap:7px;padding:0 5px}
  .hero-stat-icon{width:42px;height:42px;flex-basis:42px}
  .hero-stat-copy strong{font-size:15px}
  .hero-stat-copy small{font-size:10.5px;margin-top:3px}
  .welcome .mini-rule{width:104px !important;margin-top:12px !important}
  .site-footer .footer-gdc-logo{width:42px;height:42px;flex-basis:42px}
}

@media (min-width:1200px) and (min-height:850px){
  .hero-stats-overlay{min-height:75px}
  .hero-stat-icon{width:52px;height:52px;flex-basis:52px}
  .hero-stat-copy strong{font-size:18px}
  .hero-stat-copy small{font-size:12.5px}
  .welcome .mini-rule{width:112px !important}
  .site-footer .footer-gdc-logo{width:50px;height:50px;flex-basis:50px}
}

@media (max-width:850px){
  .hero-official-logo,.hero-stats-overlay{display:none}
}

/* =========================================================
   GDC PRECISION FIX v9
   - removes the baked-in old top-left logo visually
   - places the new official logo correctly
   - reduces the empty gap before the login card
   - keeps 1366x768 + 1400x900 + larger screens responsive
   ========================================================= */

/* ---------- LEFT BRAND: cover OLD baked logo completely ---------- */
.hero-brand-replacement{
  position:absolute !important;
  z-index:20 !important;

  /* This light panel hides the OLD logo + OLD brand text
     that are baked into gdc-left-panel.png */
  left:4.6% !important;
  top:3.5% !important;
  width:72% !important;
  height:19.5% !important;

  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  padding:8px 18px !important;

  background:
    linear-gradient(90deg,
      rgba(242,249,253,.995) 0%,
      rgba(239,247,252,.99) 70%,
      rgba(236,245,251,.94) 88%,
      rgba(236,245,251,0) 100%) !important;

  border-radius:18px !important;
}

/* Hide the previous small-circle positioning rule if it exists */
.hero-official-logo{display:none !important}

.hero-brand-replacement img{
  width:94px !important;
  height:94px !important;
  flex:0 0 94px !important;
  object-fit:contain !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 5px 15px rgba(25,71,112,.13) !important;
}

.hero-brand-name{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  line-height:1 !important;
}

.hero-brand-name strong{
  display:block !important;
  color:#0b2c78 !important;
  font-size:34px !important;
  font-weight:850 !important;
  letter-spacing:1.1px !important;
  white-space:nowrap !important;
}

.hero-brand-name span{
  display:block !important;
  margin-top:8px !important;
  color:#079b9c !important;
  font-size:20px !important;
  font-weight:700 !important;
  letter-spacing:.7px !important;
  white-space:nowrap !important;
}

/* ---------- RIGHT SIDE: remove the excessive horizontal empty space ---------- */
@media (min-width:851px){
  .login-stage{
    grid-template-columns:48.1% 51.9% !important;
  }

  .form-panel{
    justify-content:flex-start !important;
    align-items:center !important;
    padding-left:clamp(20px,1.8vw,30px) !important;
    padding-right:clamp(24px,2.4vw,40px) !important;
  }

  .login-card{
    width:min(650px,100%) !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}

/* 1366 x 768 / short desktop */
@media (min-width:851px) and (max-height:800px){
  .form-panel{
    padding-left:18px !important;
    padding-right:28px !important;
  }

  .login-card{
    width:min(640px,100%) !important;
  }

  .hero-brand-replacement{
    left:4.1% !important;
    top:3.8% !important;
    width:73.5% !important;
    height:19% !important;
    gap:14px !important;
    padding:6px 15px !important;
  }

  .hero-brand-replacement img{
    width:80px !important;
    height:80px !important;
    flex-basis:80px !important;
  }

  .hero-brand-name strong{
    font-size:28px !important;
    letter-spacing:.8px !important;
  }

  .hero-brand-name span{
    margin-top:6px !important;
    font-size:17px !important;
  }
}

/* 1400 x 900 / 1440 x 900 */
@media (min-width:1200px) and (min-height:850px){
  .form-panel{
    padding-left:24px !important;
    padding-right:36px !important;
  }

  .login-card{
    width:min(670px,100%) !important;
  }

  .hero-brand-replacement img{
    width:100px !important;
    height:100px !important;
    flex-basis:100px !important;
  }

  .hero-brand-name strong{
    font-size:36px !important;
  }

  .hero-brand-name span{
    font-size:21px !important;
  }
}

/* Footer: ensure new official logo is clean and readable */
.site-footer .footer-gdc-logo{
  overflow:hidden !important;
  background:#fff !important;
}
.site-footer .footer-gdc-logo img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

/* Mobile */
@media (max-width:850px){
  .hero-brand-replacement{display:none !important}
}

/* =========================================================
   GDC PRECISION FIX v10
   Final correction for:
   1. Old logo permanently removed from hero artwork
   2. Correct official client logo
   3. Proper mockup-like gap between panels
   ========================================================= */

/* The brand is now built directly into gdc-left-panel-v4.png.
   Do not show any old overlay branding. */
.hero-brand-replacement,
.hero-official-logo{
  display:none !important;
}

/* Desktop spacing: keep a deliberate premium breathing gap
   between the left panel and the login card. */
@media (min-width:851px){
  .login-stage{
    grid-template-columns:48.1% 51.9% !important;
  }

  .form-panel{
    justify-content:flex-start !important;
    align-items:center !important;
    padding-left:clamp(48px,3.8vw,62px) !important;
    padding-right:clamp(28px,2.8vw,44px) !important;
  }

  .login-card{
    width:min(640px,100%) !important;
    margin:0 !important;
  }
}

/* 1366 x 768 */
@media (min-width:851px) and (max-height:800px){
  .form-panel{
    padding-left:50px !important;
    padding-right:28px !important;
  }

  .login-card{
    width:min(620px,100%) !important;
  }
}

/* 1400 x 900 / 1440 x 900 */
@media (min-width:1200px) and (min-height:850px){
  .form-panel{
    padding-left:54px !important;
    padding-right:38px !important;
  }

  .login-card{
    width:min(645px,100%) !important;
  }
}

/* =========================================================
   GDC RIGHT PANEL BALANCE v11
   - Wider login card
   - Slightly shifted right
   - Subtle official GDC watermark
   - Preserves footer and left panel
   ========================================================= */

@media (min-width:851px){

  .form-panel{
    position:relative !important;
    overflow:hidden !important;
  }

  /* Subtle watermark on the far-right background */
  .form-panel::after{
    content:"";
    position:absolute;
    z-index:0;
    right:-72px;
    top:50%;
    transform:translateY(-50%);
    width:330px;
    height:330px;
    background:url("../img/gdc-official-logo-v3.png") center/contain no-repeat;
    opacity:.055;
    filter:saturate(.85);
    pointer-events:none;
  }

  .login-card{
    position:relative !important;
    z-index:2 !important;
    width:min(680px,100%) !important;
    transform:translateX(18px);
  }
}

/* 1366 x 768 */
@media (min-width:851px) and (max-height:800px){
  .form-panel{
    padding-left:48px !important;
    padding-right:24px !important;
  }

  .login-card{
    width:min(660px,100%) !important;
    transform:translateX(18px);
  }

  .form-panel::after{
    right:-62px;
    width:285px;
    height:285px;
    opacity:.05;
  }
}

/* 1400 x 900 / 1440 x 900 */
@media (min-width:1200px) and (min-height:850px){
  .form-panel{
    padding-left:52px !important;
    padding-right:30px !important;
  }

  .login-card{
    width:min(700px,100%) !important;
    transform:translateX(20px);
  }

  .form-panel::after{
    right:-78px;
    width:365px;
    height:365px;
    opacity:.055;
  }
}

/* Full HD and larger */
@media (min-width:1700px){
  .login-card{
    width:min(720px,100%) !important;
    transform:translateX(22px);
  }

  .form-panel::after{
    right:-90px;
    width:420px;
    height:420px;
    opacity:.05;
  }
}

/* Mobile: no watermark */
@media (max-width:850px){
  .form-panel::after{
    display:none !important;
  }

  .login-card{
    transform:none !important;
  }
}

/* =========================================================
   GDC FINAL VISUAL TUNE v12
   - Left hero slightly wider / shifted right
   - Secure Clinical Access made colourful
   - Lock icon made premium and colourful
   ========================================================= */

/* Give the LEFT visual panel a little more width, as marked */
@media (min-width:851px){
  .login-stage{
    grid-template-columns:50% 50% !important;
  }

  /* Keep login card balanced after widening the left panel */
  .form-panel{
    padding-left:42px !important;
    padding-right:26px !important;
  }

  .login-card{
    width:min(680px,100%) !important;
    transform:translateX(10px) !important;
  }
}

/* Premium colourful Secure Clinical Access strip */
.secure-box{
  position:relative !important;
  overflow:hidden !important;
  border:1px solid rgba(16,163,173,.34) !important;
  background:
    linear-gradient(105deg,
      rgba(232,249,255,.98) 0%,
      rgba(239,250,247,.98) 48%,
      rgba(246,244,255,.98) 100%) !important;
  box-shadow:
    0 7px 18px rgba(15,74,125,.08),
    inset 4px 0 0 #10aaa8 !important;
}

.secure-box::after{
  content:"";
  position:absolute;
  right:-26px;
  top:-38px;
  width:112px;
  height:112px;
  border-radius:50%;
  background:radial-gradient(circle,
    rgba(91,79,205,.11) 0%,
    rgba(16,170,168,.06) 48%,
    transparent 70%);
  pointer-events:none;
}

.secure-box > span:first-child{
  width:31px !important;
  height:31px !important;
  flex:0 0 31px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:10px !important;
  color:#fff !important;
  background:linear-gradient(135deg,#0878c9,#10b5a7) !important;
  box-shadow:0 5px 12px rgba(12,133,172,.23) !important;
  font-size:15px !important;
  font-weight:900 !important;
}

.secure-box strong{
  color:#073a79 !important;
  font-weight:850 !important;
  letter-spacing:.15px !important;
}

.secure-box small{
  color:#416a91 !important;
  font-weight:550 !important;
}

/* Colourful lock badge */
.secure-box .big-lock{
  position:relative !important;
  z-index:2 !important;
  width:38px !important;
  height:38px !important;
  flex:0 0 38px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#fff5d8 0%,#ffe8a8 48%,#dff8f4 100%) !important;
  border:1px solid rgba(218,165,38,.34) !important;
  box-shadow:0 5px 13px rgba(130,103,25,.13) !important;
  font-size:21px !important;
  line-height:1 !important;
  filter:saturate(1.15) !important;
}

/* 1366x768 */
@media (min-width:851px) and (max-height:800px){
  .login-stage{
    grid-template-columns:50% 50% !important;
  }

  .form-panel{
    padding-left:40px !important;
    padding-right:24px !important;
  }

  .login-card{
    width:min(650px,100%) !important;
    transform:translateX(8px) !important;
  }

  .secure-box > span:first-child{
    width:29px !important;
    height:29px !important;
    flex-basis:29px !important;
  }

  .secure-box .big-lock{
    width:36px !important;
    height:36px !important;
    flex-basis:36px !important;
    font-size:20px !important;
  }
}

/* 1400x900 and larger */
@media (min-width:1200px) and (min-height:850px){
  .login-stage{
    grid-template-columns:50.5% 49.5% !important;
  }

  .form-panel{
    padding-left:44px !important;
    padding-right:30px !important;
  }

  .login-card{
    width:min(700px,100%) !important;
    transform:translateX(10px) !important;
  }
}
