 :root {
      --navy:   #0b1e3d;
      --navy2:  #112852;
      --gold:   #c9a84c;
      --gold-l: #e8c96e;
      --cream:  #f7f3ec;
      --text:   #1a2b4a;
      --muted:  #6b7a99;
      --border: #dde3ef;
      --radius: 14px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      min-height: 100vh;
      display: flex;
      font-family: 'DM Sans', sans-serif;
      background: var(--cream);
      overflow: hidden;
    }

    /* ── LEFT PANEL ── */
    .left-panel {
      width: 46%;
      background: var(--navy);
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 60px 52px;
      overflow: hidden;
    }

    /* decorative circles */
    .left-panel::before,
    .left-panel::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      opacity: .07;
      background: var(--gold);
    }
    .left-panel::before { width: 480px; height: 480px; top: -160px; left: -120px; }
    .left-panel::after  { width: 320px; height: 320px; bottom: -100px; right: -80px; }

    .deco-ring {
      position: absolute;
      border-radius: 50%;
      border: 1.5px solid rgba(201,168,76,.18);
    }
    .deco-ring.r1 { width: 560px; height: 560px; top: -200px; left: -180px; }
    .deco-ring.r2 { width: 260px; height: 260px; bottom: -60px; right: -60px; }

    .brand-wrap { position: relative; z-index: 2; text-align: center; }

    /* logo mark */
    .logo-mark {
      width: 84px; height: 84px;
      border-radius: 22px;
      background: linear-gradient(145deg, var(--gold), var(--gold-l));
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 24px;
      box-shadow: 0 12px 40px rgba(201,168,76,.35);
    }
    .logo-mark i { font-size: 2.2rem; color: var(--navy); }

    .brand-name {
      font-family: 'Playfair Display', serif;
      font-size: 2.15rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: .5px;
    }
    .brand-name span { color: var(--gold); }

    .brand-tagline {
      font-size: .88rem;
      color: rgba(255,255,255,.5);
      letter-spacing: 2.5px;
      text-transform: uppercase;
      margin-top: 6px;
    }

    /* divider */
    .gold-line {
      width: 48px; height: 2px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin: 32px auto;
      border-radius: 2px;
    }

    /* info cards */
    .info-list { width: 100%; max-width: 340px; }
    .info-item {
      display: flex; align-items: flex-start; gap: 16px;
      margin-bottom: 22px;
    }
    .info-icon {
      width: 42px; height: 42px; flex-shrink: 0;
      border-radius: 12px;
      background: rgba(201,168,76,.12);
      border: 1px solid rgba(201,168,76,.25);
      display: flex; align-items: center; justify-content: center;
    }
    .info-icon i { font-size: 1.1rem; color: var(--gold); }
    .info-text h6 {
      font-size: .82rem; font-weight: 500;
      color: rgba(255,255,255,.9); margin-bottom: 2px;
    }
    .info-text p { font-size: .78rem; color: rgba(255,255,255,.42); line-height: 1.5; }

    /* footer strip */
    .left-footer {
      position: absolute; bottom: 28px; left: 0; right: 0;
      text-align: center; font-size: .72rem;
      color: rgba(255,255,255,.22); letter-spacing: 1px;
      z-index: 2;
    }

    /* ── RIGHT PANEL ── */
    .right-panel {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 48px 40px;
      background: var(--cream);
      position: relative;
    }

    /* subtle grid texture */
    .right-panel::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(11,30,61,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,30,61,.04) 1px, transparent 1px);
      background-size: 32px 32px;
      pointer-events: none;
    }

    .form-card {
      position: relative; z-index: 1;
      width: 100%; max-width: 420px;
    }

    .form-heading {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 600;
      color: var(--text); margin-bottom: 6px;
    }
    .form-sub {
      font-size: .88rem; color: var(--muted); margin-bottom: 36px;
    }

    /* field groups */
    .field-group { margin-bottom: 22px; }

    .field-label {
      font-size: .78rem; font-weight: 500;
      color: var(--text); letter-spacing: .5px;
      text-transform: uppercase; margin-bottom: 8px;
      display: block;
    }

    .input-shell {
      position: relative;
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      display: flex; align-items: center;
      transition: border-color .2s, box-shadow .2s;
    }
    .input-shell:focus-within {
      border-color: var(--gold);
      box-shadow: 0 0 0 4px rgba(201,168,76,.12);
    }

    .input-icon {
      width: 48px; height: 54px;
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: 1.05rem; flex-shrink: 0;
      border-right: 1.5px solid var(--border);
      transition: color .2s;
    }
    .input-shell:focus-within .input-icon { color: var(--gold); border-color: rgba(201,168,76,.3); }

    .input-shell input {
      flex: 1; border: none; outline: none;
      background: transparent;
      padding: 0 14px;
      height: 54px;
      font-size: .93rem; color: var(--text);
      font-family: 'DM Sans', sans-serif;
    }
    .input-shell input::placeholder { color: #b0bac8; }

    .toggle-eye {
      width: 48px; height: 54px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: var(--muted); font-size: 1.05rem;
      border: none; background: none; flex-shrink: 0;
      transition: color .2s;
    }
    .toggle-eye:hover { color: var(--gold); }

    /* remember + forgot row */
    .meta-row {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 30px;
    }
    .meta-row label {
      font-size: .82rem; color: var(--muted); cursor: pointer;
      display: flex; align-items: center; gap: 8px;
    }
    .meta-row input[type="checkbox"] {
      accent-color: var(--gold); width: 15px; height: 15px;
    }
    .forgot-link {
      font-size: .82rem; color: var(--gold); text-decoration: none; font-weight: 500;
    }
    .forgot-link:hover { text-decoration: underline; }

    /* submit button */
    .btn-signin {
      width: 100%; height: 54px;
      background: linear-gradient(135deg, var(--navy), var(--navy2));
      color: #fff; border: none; border-radius: var(--radius);
      font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500;
      letter-spacing: .5px; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      transition: transform .15s, box-shadow .2s;
      box-shadow: 0 8px 28px rgba(11,30,61,.25);
      position: relative; overflow: hidden;
    }
    .btn-signin::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(201,168,76,.15), transparent);
      opacity: 0; transition: opacity .2s;
    }
    .btn-signin:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(11,30,61,.32); }
    .btn-signin:hover::after { opacity: 1; }
    .btn-signin:active { transform: translateY(0); }

    /* divider */
    .or-divider {
      display: flex; align-items: center; gap: 14px;
      margin: 28px 0; color: var(--muted); font-size: .8rem;
    }
    .or-divider::before, .or-divider::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }

    /* sign-up link */
    .signup-row {
      text-align: center; font-size: .85rem; color: var(--muted);
    }
    .signup-row a { color: var(--gold); font-weight: 500; text-decoration: none; }
    .signup-row a:hover { text-decoration: underline; }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      body { flex-direction: column; overflow: auto; }
      .left-panel { width: 100%; padding: 40px 28px; }
      .info-list { display: none; }
      .gold-line { margin: 20px auto; }
      .right-panel { padding: 36px 24px; }
    }
  .errMsg{ font-size: 12px;
    color: #f00;
    padding: 12px 15px;
    margin-top: -17px;
  }