 :root {
    /* ---------- OXFORD BLUE PALETTE ---------- */
    --oxford-950: #0a1420;
    --oxford-900: #10233a;
    --oxford-800: #16314f;
    --oxford-700: #1d3f64;
    --oxford-600: #254d79;
    --oxford-500: #2f5f92;
    --oxford-200: #b9c9dc;
    --oxford-100: #dde6f0;
    --oxford-50:  #f0f4f9;

    /* ---------- GOLDEN BEIGE PALETTE ---------- */
    --beige-600: #b89968;
    --beige-500: #d4b483;
    --beige-400: #e2c9a0;
    --beige-300: #eed9b8;
    --beige-200: #f5e8d0;
    --beige-100: #faf1e2;
    --beige-50:  #fdf8ef;

    --lux-text-dark: #10233a;
    --lux-text-muted: #6b7a8f;
    --lux-border: #e7e0d6;
    --lux-border-soft: #f5efe2;
  }

  html, body {
    background: #fdf8ef !important;
    min-height: 100vh;
    margin: 0;
    font-family: "Inter", sans-serif;
  }

  body > *,
  .app,
  .wrapper,
  main,
  #app {
    background: transparent !important;
  }

  /* ---------- FULL PAGE BACKGROUND ---------- */
  .login-page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(900px 500px at 15% 10%, rgba(22, 49, 79, 0.06), transparent 60%),
      radial-gradient(900px 500px at 85% 90%, rgba(212, 180, 131, 0.10), transparent 60%),
      linear-gradient(160deg, #fdf8ef 0%, #faf1e2 60%, #f5e8d0 100%);
  }

  /* ---------- MAIN WRAP ---------- */
  .login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
  }

  .login-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 940px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
      0 25px 55px -25px rgba(16, 35, 58, 0.25),
      0 6px 18px -10px rgba(16, 35, 58, 0.10);
    border: 1px solid var(--lux-border-soft);
  }

  /* ---------- LEFT PANEL (Brand) ---------- */
  .login-left {
    position: relative;
    background: linear-gradient(150deg, var(--oxford-900) 0%, var(--oxford-800) 55%, var(--oxford-700) 100%);
    padding: 48px 40px;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .login-left::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -30%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(212, 180, 131, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .login-left::after {
    content: "";
    position: absolute;
    bottom: -35%;
    left: -30%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .login-left-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

 .lux-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(212, 180, 131, 0.35);
  box-shadow: 0 20px 45px -15px rgba(10, 20, 32, 0.55),
              0 0 0 6px rgba(212, 180, 131, 0.08);
}
.lux-logo-wrap img {
  display: block;
  border-radius: 10px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

  .lux-brand-title {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #fff;
    margin: 24px 0 0;
  }
  .lux-brand-title .maroon {
    background: linear-gradient(180deg, #eed9b8 0%, #d4b483 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .login-left-tagline {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.4px;
    max-width: 260px;
    line-height: 1.6;
  }

  .login-left-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--beige-400), transparent);
    margin: 26px 0 0;
    border-radius: 2px;
  }

  .login-left-footer {
    margin-top: 28px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(238, 217, 184, 0.65);
  }

  /* ---------- RIGHT PANEL (Form) ---------- */
  .login-right {
    padding: 48px 42px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .login-right-title {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--oxford-900);
    margin: 0;
    letter-spacing: -0.3px;
  }
  .login-right-subtitle {
    color: var(--lux-text-muted);
    font-size: 0.88rem;
    margin-top: 6px;
    letter-spacing: 0.3px;
  }

  .card-color {
    color: var(--lux-text-dark);
    letter-spacing: 0.3px;
    font-weight: 600;
    font-size: 0.82rem;
  }

  /* ---------- Inputs ---------- */
  .lux-input-wrap {
    position: relative;
    display: flex;
    background-color: #fdf8ef !important;
    border: 1.5px solid var(--lux-border) !important;
    border-radius: 10px;
    transition: all 0.25s ease;
  }
  .lux-input-wrap:hover {
    border-color: rgba(22, 49, 79, 0.35) !important;
    background-color: #ffffff !important;
  }
  .lux-input-wrap:focus-within {
    border-color: var(--oxford-800) !important;
    box-shadow: 0 0 0 4px rgba(22, 49, 79, 0.10);
    background-color: #ffffff !important;
  }

  .lux-input-wrap input.form-input {
    background: transparent !important;
    color: var(--lux-text-dark) !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .lux-input-wrap input.form-input::placeholder {
    color: #a8a29e !important;
  }
  .lux-input-wrap input.form-input:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .lux-input-icon {
    color: #a8a29e;
    transition: color 0.25s ease;
  }
  .lux-input-wrap:focus-within .lux-input-icon {
    color: var(--oxford-800) !important;
  }

  .lux-toggle {
    color: #a8a29e;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  .lux-toggle:hover {
    color: var(--oxford-800);
    transform: scale(1.1);
  }

  .lux-checkbox { accent-color: var(--oxford-800); }

  .lux-link {
    color: var(--oxford-800) !important;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
  }
  .lux-link:hover {
    color: var(--oxford-950) !important;
    text-shadow: 0 0 12px rgba(22, 49, 79, 0.18);
  }

  /* ---------- Button ---------- */
  .lux-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--oxford-800) 0%, var(--oxford-900) 60%, var(--oxford-950) 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 0.9rem 1rem;
    border-radius: 10px !important;
    border: none !important;
    box-shadow:
      0 14px 30px -10px rgba(16, 35, 58, 0.55),
      0 1px 0 rgba(255, 255, 255, 0.15) inset;
    transition: all 0.25s ease;
  }
  .lux-btn:hover {
    transform: translateY(-1px);
    box-shadow:
      0 20px 42px -10px rgba(16, 35, 58, 0.75),
      0 1px 0 rgba(255, 255, 255, 0.25) inset;
    filter: brightness(1.08);
  }
  .lux-btn:active { transform: translateY(0); }

  .lux-btn::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 180, 131, 0.35), transparent);
    transition: left 0.6s ease;
  }
  .lux-btn:hover::after { left: 100%; }

  /* ---------- Divider ---------- */
  .lux-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 49, 79, 0.18), transparent);
    margin: 1.25rem 0 0.75rem;
  }

  .lux-footer-text {
    color: var(--lux-text-muted) !important;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
  }

  #loginMessage > div { border-radius: 10px !important; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 820px) {
    .login-card { grid-template-columns: 1fr; max-width: 460px; }
    .login-left { padding: 40px 28px 32px; }
    .login-right { padding: 32px 26px 36px; }
    .lux-brand-title { font-size: 1rem; }
  }
  @media (max-width: 400px) {
    .login-right { padding: 26px 20px 30px; }
    .login-right-title { font-size: 1.35rem; }
  }