  :root{
    --navy-deep:   #0a1f3d;
    --navy:        #0f2d55;
    --navy-mid:    #163a6b;
    --gold:        #e8b34c;
    --gold-soft:   #f6d999;
    --sky:         #5aa9e6;
    --paper:       #f7f9fc;
    --ink:         #10192b;
    --ink-soft:    #57647a;
    --line:        #e2e8f2;
    --good:        #2fae6b;
  }

  *{ box-sizing:border-box; }
  html,body{ margin:0; padding:0; }
  body{
    min-height:100vh;
    font-family:"Inter", -apple-system, sans-serif;
    color:var(--ink);
    background:var(--paper);
    display:flex;
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
  }

  /* ---------- layout shell ---------- */
  .shell{
    display:flex;
    width:100%;
    min-height:100vh;
  }

  /* ---------- LEFT: brand panel ---------- */
  .brand{
    position:relative;
    flex:1 1 52%;
    background:
      radial-gradient(120% 140% at 8% 0%, var(--navy-mid) 0%, var(--navy) 46%, var(--navy-deep) 100%);
    color:#eaf1fb;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:56px 64px;
    overflow:hidden;
    min-width:420px;
  }

  /* watermark seal ring — the signature element */
  .brand::before{
    content:"";
    position:absolute;
    right:-220px;
    bottom:-220px;
    width:640px;
    height:640px;
    border-radius:50%;
    border:1px solid rgba(232,179,76,0.22);
  }
  .brand::after{
    content:"";
    position:absolute;
    right:-140px;
    bottom:-140px;
    width:420px;
    height:420px;
    border-radius:50%;
    border:1px solid rgba(232,179,76,0.14);
  }
  .seal-mark{
    position:absolute;
    right:-40px;
    bottom:-40px;
    width:340px;
    height:340px;
    opacity:0.16;
    filter:grayscale(1) brightness(1.6);
    pointer-events:none;
    user-select:none;
  }

  .brand-top{ position:relative; z-index:2; }
  .brand-logos{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:44px;
  }
  .brand-logos img{ height:44px; width:auto; }
  .brand-logos .divider{ width:1px; height:32px; background:rgba(255,255,255,0.22); }

  .eyebrow{
    font-family:"IBM Plex Mono", monospace;
    font-size:11px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--gold-soft);
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
  }
  .eyebrow .dot{
    width:6px; height:6px; border-radius:50%;
    background:var(--good);
    box-shadow:0 0 0 3px rgba(47,174,107,0.25);
  }

  .brand h1{
    font-family:"Newsreader", serif;
    font-weight:500;
    font-size:44px;
    line-height:1.18;
    letter-spacing:-0.01em;
    margin:0 0 18px;
    max-width:520px;
  }
  .brand h1 em{
    font-style:italic;
    color:var(--gold-soft);
  }

  .brand p.lede{
    font-size:15.5px;
    line-height:1.7;
    color:#c4d3ea;
    max-width:440px;
    margin:0 0 40px;
  }

  .feature-list{
    position:relative;
    z-index:2;
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:16px;
    max-width:460px;
  }
  .feature-list li{
    display:flex;
    gap:14px;
    align-items:flex-start;
    font-size:13.5px;
    color:#c4d3ea;
    line-height:1.5;
  }
  .feature-list .ic{
    flex:0 0 auto;
    width:19px; height:19px;
    margin-top:1px;
    color:var(--gold-soft);
  }
  .feature-list .ic svg{ width:100%; height:100%; display:block; }
  .feature-list b{ color:#eef4fc; font-weight:600; }

  .brand-bottom{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    padding-top:32px;
    border-top:1px solid rgba(255,255,255,0.12);
    font-size:12px;
    color:#8fa3c4;
	margin-top:10px;
  }
  .brand-bottom .addr{ line-height:1.6; }
  .brand-bottom .addr b{ color:#c4d3ea; display:block; font-weight:600; margin-bottom:2px; }

  /* ---------- RIGHT: form panel ---------- */
  .formside{
    flex:1 1 48%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:48px;
    background:var(--paper);
  }

  .card{
    width:100%;
    max-width:392px;
  }

  .card-head{ margin-bottom:34px; }
  .card-head .tag{
    font-family:"IBM Plex Mono", monospace;
    font-size:11px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--sky);
    margin-bottom:10px;
    display:block;
  }
  .card-head h2{
    font-family:"Newsreader", serif;
    font-weight:500;
    font-size:30px;
    margin:0 0 8px;
    color:var(--ink);
  }
  .card-head p{
    margin:0;
    font-size:14px;
    color:var(--ink-soft);
  }

  .field{ margin-bottom:20px; }
  .field label{
    display:block;
    font-size:12.5px;
    font-weight:600;
    color:var(--ink);
    margin-bottom:7px;
    letter-spacing:0.01em;
  }
  .input-wrap{
    position:relative;
    display:flex;
    align-items:center;
    background:#fff;
    border:1.5px solid var(--line);
    border-radius:10px;
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  .input-wrap:focus-within{
    border-color:#c7ceda;
    box-shadow:0 1px 2px rgba(16,25,43,0.06);
  }
  .input-wrap .bx-icon{
    padding:0 12px;
    color:#9aa6ba;
    font-size:18px;
    display:flex;
  }
  .input-wrap input{
    flex:1;
    min-width:0;
    border:none;
    outline:none;
    background:transparent;
    font-family:"Inter", sans-serif;
    font-size:14.5px;
    color:var(--ink);
    padding:13px 4px;
  }
  .input-wrap input::placeholder{ color:#aab4c6; }
  .toggle-pass{
    padding:0 13px;
    color:#9aa6ba;
    cursor:pointer;
    display:flex;
    align-items:center;
    user-select:none;
  }
  .toggle-pass:hover{ color:var(--navy); }
  .toggle-pass svg{ width:19px; height:19px; display:block; }

  .row-between{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:2px 0 26px;
  }
  .remember{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--ink-soft);
  }
  .remember input{ accent-color:var(--navy); width:14px; height:14px; }

  .btn-login{
    width:100%;
    border:none;
    border-radius:10px;
    padding:14px 16px;
    background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color:#fff;
    font-family:"Inter", sans-serif;
    font-size:14.5px;
    font-weight:700;
    letter-spacing:0.01em;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    cursor:pointer;
    transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
    box-shadow:0 10px 24px -8px rgba(15,45,85,0.55);
  }
  .btn-login:hover{ transform:translateY(-1px); box-shadow:0 14px 28px -8px rgba(15,45,85,0.6); }
  .btn-login:active{ transform:translateY(0); }
  .btn-login:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
  .btn-login .bx{ font-size:17px; }

  .card-foot{
    margin-top:26px;
    padding-top:22px;
    border-top:1px solid var(--line);
    display:flex;
    align-items:center;
    gap:9px;
    font-size:12px;
    color:var(--ink-soft);
  }
  .card-foot .bx{ color:var(--good); font-size:15px; }
  
 .alert-danger{
    display:flex;
    align-items:flex-start;
    gap:10px;
    background:#fdecec;
    border:1px solid #f3b9b9;
    color:#9c1c1c;
    border-radius:10px;
    padding:12px 14px;
    font-size:13.5px;
    line-height:1.5;
    margin-bottom:22px;
  }
  .alert-danger svg{ flex:0 0 auto; width:18px; height:18px; margin-top:1px; color:#c0392b; }  

 .alert-success{
    display:flex;
    align-items:flex-start;
    gap:10px;
    background: #4caf5059;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    border-radius:10px;
    padding:12px 14px;
    font-size:13.5px;
    line-height:1.5;
    margin-bottom:22px;
  }
  .alert-success svg{ flex:0 0 auto; width:18px; height:18px; margin-top:1px; color:#c0392b; }  


  @media (max-width: 900px){
    .shell{ flex-direction:column; }
    .brand{ min-width:0; padding:40px 28px; }
    .brand h1{ font-size:32px; }
    .feature-list{ display:none; }
    .brand-bottom{ font-size:11px; }
    .formside{ padding:36px 24px 56px; }
  }