/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
}

/* Header logo */
.header-auth {
  text-align: center;
  padding: 32px 20px 12px;
}
.logo-img {
  height: 56px;
  margin: 0 auto;
  filter: drop-shadow(0 0 6px rgba(207,163,73,0.35));
  transition: transform 0.3s ease;
}
.logo-img:hover {
  transform: scale(1.05);
}

/* Container central */
.auth-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

/* Card principal */
.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35), inset 0 0 8px rgba(207,163,73,0.1);
  padding: 36px 28px;
  width: 100%;
  max-width: 420px;
  transition: box-shadow 0.3s ease;
}
.auth-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,0.45), inset 0 0 12px rgba(207,163,73,0.15);
}

/* Título e subtítulo */
.auth-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-align: center;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(207,163,73,0.3);
}
.auth-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  text-align: center;
}

/* Inputs */
.input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--surface-2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(207,163,73,0.4);
}
.input-group i {
  margin-right: 10px;
  color: var(--muted);
  transition: color 0.25s ease;
}
.input-group:focus-within i {
  color: var(--gold);
}
.auth-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

/* Botões principais */
.btn-auth {
  display: inline-block;
  width: 100%;
  padding: 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207,163,73,0.5);
}
.btn-dark {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--black);
}

/* Linhas extras */
.form-line {
  margin-top: 16px;
}

/* Links e alternativas */
.auth-alt {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-alt a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.3s ease;
}
.auth-alt a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px;
  }
  .auth-title {
    font-size: 1.5rem;
  }
}

/* ===== LOGO NO AUTH CARD ===== */
.logo-box {
  text-align: center;
  margin-bottom: 18px;
}

.logo-box .logo-img {
  height: 42px;             /* reduz tamanho */
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-box .logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(207,163,73,0.45));
}

/* ===== AUTH CARD AJUSTADO ===== */
.auth-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 36px 28px;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.25),
    0 0 18px rgba(207,163,73,0.2); /* glow dourado */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.3),
    0 0 22px rgba(207,163,73,0.35);
}

/* ===== TÍTULO E SUB ===== */
.auth-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
}

.auth-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
  text-align: center;
}

/* ===== INPUTS PREMIUM ===== */
.input-group {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  transition: border 0.25s, box-shadow 0.25s;
}

.input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(207,163,73,0.35);
}

.input-group i {
  color: var(--gold);
  margin-right: 10px;
}

.auth-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

/* ===== BOTÃO LOGIN ===== */
.btn-auth.btn-gold {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(207,163,73,0.35);
}

.btn-auth.btn-gold:hover {
  background: var(--gradient-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(207,163,73,0.5);
}

/* ===== LINKS SECUNDÁRIOS ===== */
.auth-alt {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-alt a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s, text-shadow 0.25s;
}

.auth-alt a:hover {
  color: var(--gradient-gold);
  text-shadow: 0 0 6px rgba(207,163,73,0.4);
}

/* ===== LINK ESPECÍFICO: FORGOT PASSWORD ===== */
.auth-alt .forgot-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.25s, text-shadow 0.25s;
}

.auth-alt .forgot-link:hover {
  color: var(--gold);
  text-shadow: 0 0 4px rgba(207,163,73,0.35);
}

/* ===== BOTÃO SECUNDÁRIO (DARK) ===== */
.btn-auth.btn-dark {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.btn-auth.btn-dark:hover {
  background: var(--hover);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(207,163,73,0.25);
}

/* Reset body/html */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
}

/* Auth card refinado */
.auth-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  margin: auto;
  text-align: center;
  box-shadow: 0 0 25px rgba(207,163,73,0.25), 0 6px 16px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}

/* Logo dentro do card */
.logo-auth {
  max-width: 160px;
  margin: 0 auto 18px auto;
  display: block;
}

/* Dark refinado */
html[data-theme="dark"] {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --border: rgba(255, 215, 0, 0.15);
  --text: #f5f5f5;
  --muted: #aaa;
}

html[data-theme="dark"] .auth-card {
  box-shadow: 0 0 28px rgba(207,163,73,0.35), 0 8px 24px rgba(0,0,0,0.75);
}


.auth-back-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  z-index: 1000;
}

.auth-back-btn:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

/* ===== BOTÃO VOLTAR ===== */
.auth-back-btn {
  position: fixed;              /* fixo na tela, não some ao rolar */
  top: 20px;
  left: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35), 0 0 8px rgba(207,163,73,0.25);
  transition: all 0.25s ease;
  z-index: 2000;
}

.auth-back-btn:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 0 10px rgba(207,163,73,0.35);
}

/* Mobile ajusta tamanho e posição */
@media (max-width: 480px) {
  .auth-back-btn {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

.authchoice-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.authchoice-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Botão principal (Client) */
.authchoice-btn.gold {
  background: var(--gold);
  color: var(--black);
  border: none;
}
.authchoice-btn.gold:hover {
  background: var(--gradient-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(207,163,73,0.45);
}

/* Botão secundário (Escort) */
.authchoice-btn.outlined {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.authchoice-btn.outlined:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(207,163,73,0.35);
}

.authchoice-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

.authchoice-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Botão principal (Client) */
.authchoice-btn.gold {
  background: var(--gold);
  color: var(--black);
  border: none;
}
.authchoice-btn.gold:hover {
  background: var(--gradient-gold);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(207,163,73,0.45);
}
.authchoice-btn.gold:active {
  transform: scale(0.98);
}

/* Botão secundário (Escort) */
.authchoice-btn.outlined {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.authchoice-btn.outlined:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(207,163,73,0.35);
}
.authchoice-btn.outlined:active {
  transform: scale(0.98);
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.6);
  z-index: 9999; /* garante que fica na frente */
}

.auth-modal.hidden {
  display: none;
}

.auth-box {
  background: var(--surface, #fff);
  padding: 24px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  z-index: 10000;
}


/* Adicione isso ao seu CSS se os ícones estiverem desalinhados */
.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group .icon-input {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold); /* ou #cfa349 */
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 12px 12px 12px 45px; /* Espaço para o ícone na esquerda */
  border-radius: 8px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
}

.auth-card {
  background: var(--surface);
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}