*, *::before, *::after { box-sizing: border-box; }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    :root {
        --gold: #c9a84c;
        --dark: #2c1a0e;
        --dark-brown: #5a3010;
        --input-bg: #f6f2ed;
        --footer-bg: #f2e6d5;
    }

    body {
        margin: 0;
        background: #fdf8f0;
        font-family: 'Inter', sans-serif;
        color: #2b2b2b;
    }

    /* ══════════ NAV (same as homepage) ══════════ */
    nav {
      position: sticky; top: 20px; z-index: 200;
      display: flex; align-items: center; justify-content: center;
      margin: 22px auto 34px;
      width: min(1180px, calc(100% - 40px));
      min-height: 66px; padding: 0 36px;
      background: rgba(242,241,235,0.96);
      border: 1px solid #c9a84c;
      border-radius: 999px;
      box-shadow: 0 8px 32px rgba(0,0,0,.08);
      backdrop-filter: blur(10px);
    }
    .nav-left, .nav-right { display: flex; align-items: center; flex: 1; }
    .nav-left { gap: 32px; justify-content: flex-start; padding-left: 48px; }
    .nav-right { gap: 24px; justify-content: flex-end; padding-right: 48px; }
    .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .nav-logo img { height: 44px; width: auto; object-fit: contain; }
    .nav-left a, .nav-right a {
      font-family: sans-serif; font-size: 14px; font-weight: 700;
      color: var(--dark); white-space: nowrap; transition: color .2s;
    }
    .nav-left a:hover, .nav-right a:hover { color: var(--gold); }
    .nav-left a.active, .nav-right a.active { color: var(--gold); }
    .nav-icons { display: flex; gap: 14px; align-items: center; }
    .nav-icons img { width: 20px; height: 20px; object-fit: contain; cursor: pointer; }

    /* ── Dropdown ── */
    .nav-dropdown {
      position: relative;
      display: flex;
      align-items: center;
    }
    .nav-dropdown > a {
      display: flex; align-items: center; gap: 4px;
      font-family: sans-serif; font-size: 14px; font-weight: 700;
      color: var(--dark); white-space: nowrap; transition: color .2s;
      cursor: pointer;
    }
    .nav-dropdown > a::after {
      content: '▾';
      font-size: 11px;
      margin-top: 1px;
    }
    .nav-dropdown:hover > a { color: var(--gold); }
    .dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 4px);
      left: 50%;
      transform: translateX(-50%);
      background: #fdf8f0;
      border: 1px solid #c9a84c;
      border-radius: 14px;
      box-shadow: 0 8px 28px rgba(0,0,0,.12);
      min-width: 200px;
      padding: 8px 0;
      z-index: 300;
      overflow: hidden;
    }
    .nav-dropdown:hover .dropdown-menu,
    .dropdown-menu:hover { display: block; }
    /* Bridge pseudo-element fills the gap so mouse can travel to menu */
    .nav-dropdown > a::before {
      content: '';
      position: absolute;
      top: 100%;
      left: -20px;
      right: -20px;
      height: 20px;
      background: transparent;
    }
    .dropdown-menu::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 0;
      right: 0;
      height: 20px;
      background: transparent;
    }
    .dropdown-menu a {
      display: block;
      padding: 11px 20px;
      font-family: sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: var(--dark);
      transition: background .15s, color .15s;
      white-space: nowrap;
    }
    .dropdown-menu a:hover {
      background: var(--gold);
      color: #fff;
    }
    .dropdown-menu a + a {
      border-top: 1px solid #e8d9c0;
    }

    /* --- AUTH CONTENT --- */
    .auth-wrapper {
        max-width: 500px;
        margin: 60px auto;
        text-align: center;
        padding: 0 20px;
    }

    .auth-wrapper h1 {
        font-family: 'Playfair Display', serif;
        font-size: 56px;
        color: var(--gold);
        margin: 0 0 10px 0;
        font-weight: 400;
    }

    .subtitle {
        font-size: 14px;
        color: #555;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .form-group {
        text-align: left;
        margin-bottom: 18px;
    }

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #333;
    }

    .form-group input {
        width: 100%;
        padding: 14px 20px;
        border: 1px solid #ccc;
        border-radius: 30px;
        background: var(--input-bg);
        box-sizing: border-box;
        font-family: 'Inter', sans-serif;
    }

    .flex-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        font-weight: 600;
        margin: 20px 0;
    }

    .remember-me { display: flex; align-items: center; gap: 8px; }
    .forgot-pass { color: #555; text-decoration: none; }

    .btn-black {
        width: 100%;
        background: #000;
        color: #fff;
        padding: 16px;
        border: none;
        border-radius: 40px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 25px;
    }

    .btn-google-large {
        width: 100%;
        background: #fff;
        border: 1px solid #ccc;
        padding: 12px;
        border-radius: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 25px;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
    }
    .btn-google-large img { width: 24px; height: 24px; }

    .divider-container {
        display: flex;
        align-items: center;
        margin: 30px 0;
    }
    .divider-line { flex: 1; height: 1px; background: #ccc; }
    .divider-text { padding: 0 15px; color: #888; font-size: 14px; }

    .social-row {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 25px;
    }

    /* Individual social button */
    .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 1;
        max-width: 120px;
        padding: 10px 12px;
        border: 1.5px solid #e0e0e0;
        border-radius: 30px;
        background: #fff;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: #333;
        transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    }
    .social-btn:hover {
        border-color: #c9a84c;
        box-shadow: 0 2px 12px rgba(201,168,76,0.2);
        transform: translateY(-1px);
    }
    .social-btn:active { transform: translateY(0); }
    .social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    }

    .footer-note { font-size: 13px; font-weight: 600; }
    .footer-note span { color: #005a5a; cursor: pointer; text-decoration: underline; font-weight: 700; }

    @media (max-width: 768px) {
      nav { padding: 0 20px; }
    }

    .hidden { display: none; }

/* ══════════ HAMBURGER MENU ══════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 400;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,241,235,0.98);
  z-index: 350;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-y: auto;
  padding: 80px 30px 40px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--gold); }
.nav-mobile-menu .mobile-section-label {
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 0 6px;
  width: 100%;
  text-align: center;
}
.nav-mobile-menu .mobile-icons {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  justify-content: center;
}
.nav-mobile-menu .mobile-icons img { width: 24px; height: 24px; object-fit: contain; }
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
  z-index: 360;
}

@media (max-width: 560px) {
  nav { padding: 0 14px; min-height: 56px; }
  .nav-left a, .nav-right a { font-size: 12px; }
}
@media (max-width: 480px) {
  nav { padding: 0 16px; min-height: 56px; justify-content: space-between; }
  .nav-left, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { position: static; transform: none; margin: 0 auto; }
  .auth-wrapper { margin: 30px auto; }
  .auth-wrapper h1 { font-size: 40px; }
}
