/* Área do cliente: entrar, recuperar e redefinir palavra-passe.
   Carregado depois de client_base_styles(); mesma identidade de servicos.html. */
body.auth-page {
  font-family: "Montserrat", system-ui, sans-serif;
  color: #d4b296;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(255, 214, 176, 0.09), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(26, 74, 74, 0.55), transparent 60%),
    linear-gradient(160deg, #10302e 0%, #0e2e3a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding: 2.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.55;
  box-sizing: border-box;
}

.auth-page .wrap.auth-card {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 2rem 1.75rem 1.75rem;
  background: rgba(10, 34, 36, 0.72);
  border: 1px solid rgba(212, 178, 150, 0.28);
  border-radius: 0.8rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 233, 210, 0.05);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.6rem;
  text-decoration: none;
  color: inherit;
}
.auth-brand img { width: 2.8rem; height: auto; filter: drop-shadow(0 0 14px rgba(212, 178, 150, 0.4)); }
.auth-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.auth-brand__name { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.2rem; color: #f0d9c2; }
.auth-brand__sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(212, 178, 150, 0.78); margin-top: 0.2rem; }

.auth-page h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #f0d9c2;
  margin: 0 0 0.5rem;
}
.auth-page .muted { font-size: 0.86rem; color: rgba(212, 178, 150, 0.85); }
.auth-page a { color: #f0d9c2; text-underline-offset: 3px; }
.auth-page a:hover { color: #ffd99a; }

.auth-page label {
  margin: 1rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 178, 150, 0.9);
}
.auth-page input {
  max-width: none;
  padding: 0.75rem 0.85rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(212, 178, 150, 0.38);
  background: rgba(0, 0, 0, 0.24);
  color: #f0d9c2;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-page input:focus {
  outline: none;
  border-color: #d4b296;
  box-shadow: 0 0 0 3px rgba(212, 178, 150, 0.18);
}

.auth-page .btn {
  padding: 0.8rem 1.1rem;
  border-radius: 0.35rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}
.auth-page .btn:focus-visible { outline: 2px solid #ffd99a; outline-offset: 2px; }
.auth-page .btn--primary { background: #d4b296; color: #10302e; border-color: #d4b296; }
.auth-page .btn--primary:hover { background: #e6c7a9; filter: none; }
.auth-page .btn:not(.btn--primary):hover { background: rgba(212, 178, 150, 0.12); filter: none; }

.auth-page .err,
.auth-page .ok {
  padding: 0.65rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 0.86rem;
  margin: 0.75rem 0;
}
.auth-page .err { background: rgba(248, 168, 160, 0.1); border: 1px solid rgba(248, 168, 160, 0.4); }
.auth-page .ok { background: rgba(168, 230, 192, 0.08); border: 1px solid rgba(168, 230, 192, 0.35); }

.auth-divider {
  margin: 1.6rem 0 0.4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(212, 178, 150, 0.28);
}

.auth-foot {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  body.auth-page { padding: 1.25rem 0.75rem; align-items: flex-start; }
  .auth-page .wrap.auth-card { padding: 1.5rem 1.15rem 1.35rem; }
  .auth-page h1 { font-size: 1.5rem; }
}

.auth-page .password-input-wrap input { padding-right: 3rem; }
.auth-page .password-toggle { background: rgba(0, 0, 0, 0.3); }
