/**
 * Recuperar senha — layout alinhado ao login (auth-login-wrap / topbar / main).
 */
body.auth-recuperar-page {
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--auth-public-shell-bg, #f0f2f7);
  background-image: var(
    --auth-public-shell-image,
    linear-gradient(165deg, #faf8ff 0%, #f0f2f7 50%, #ebe8f5 100%)
  );
  color: #181c20;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body.auth-recuperar-page h1,
body.auth-recuperar-page h2,
body.auth-recuperar-page h3 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

.auth-recuperar-page .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.auth-recuperar-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.auth-recuperar-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-color: var(--auth-public-shell-bg, #f0f2f7);
  background-image: var(
    --auth-public-shell-image,
    linear-gradient(165deg, #faf8ff 0%, #f0f2f7 50%, #ebe8f5 100%)
  );
}

.auth-recuperar-blobs__one {
  position: absolute;
  top: -10%;
  right: -5%;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  border-radius: 50%;
  background: rgba(106, 3, 146, 0.22);
  filter: blur(120px);
}

.auth-recuperar-blobs__two {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.18);
  filter: blur(100px);
}

/* Barra topo — paridade com .auth-login-topbar */
.auth-recuperar-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0;
  padding-top: calc(1rem + env(safe-area-inset-top, 0));
  max-width: 28rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.auth-recuperar-topbar .navbar-actions--landing {
  width: auto;
  flex: 0 0 auto;
}

.auth-recuperar-wrap .bc-lang-menu--landing {
  z-index: 1080;
}

.auth-recuperar-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.auth-recuperar-back:hover {
  color: #6a0392;
  background: rgba(106, 3, 146, 0.08);
}

/* Conteúdo — paridade com .auth-login-main + .auth-login-inner */
.auth-recuperar-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem 2.5rem;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0));
  min-height: 0;
}

.auth-recuperar-inner {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

/* Mesma marca que .auth-login-brand / .auth-login-brand-logo (login-exemplo.css) */
.auth-recuperar-brand {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-recuperar-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-recuperar-brand-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(4.75rem, 14vw, 6.25rem);
  max-width: min(280px, 92vw);
  object-fit: contain;
}

.auth-recuperar-card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 32px 64px -12px rgba(73, 0, 102, 0.06);
}

@media (min-width: 576px) {
  .auth-recuperar-card {
    padding: 2rem 2.25rem;
  }
}

.auth-recuperar-card-head {
  margin-bottom: 2rem;
}

.auth-recuperar-card-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #181c20;
}

.auth-recuperar-card-head p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4e4351;
}

.auth-recuperar-alert {
  border: none !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem !important;
}

.auth-recuperar-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-recuperar-field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #181c20;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.auth-recuperar-input-wrap {
  position: relative;
}

.auth-recuperar-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  background: #e0e2e7;
  color: #181c20;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.auth-recuperar-input::placeholder {
  color: rgba(128, 115, 130, 0.7);
}

.auth-recuperar-input:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 1px #490066;
}

.auth-recuperar-input-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #807382;
  display: flex;
  align-items: center;
}

.auth-recuperar-input-icon .material-symbols-outlined {
  font-size: 1.25rem;
}

.auth-recuperar-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

.auth-recuperar-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  border: none !important;
  border-radius: 0.5rem;
  cursor: pointer;
  background: radial-gradient(circle at top left, #6a0392, #490066);
  box-shadow: 0 10px 28px rgba(73, 0, 102, 0.22);
  transition: transform 0.2s ease, filter 0.15s ease, opacity 0.15s ease;
}

.auth-recuperar-submit:hover {
  filter: brightness(1.05);
}

.auth-recuperar-submit:active {
  transform: scale(0.98);
}

.auth-recuperar-submit.btn-loading {
  pointer-events: none;
  opacity: 0.92;
}

.auth-recuperar-submit .material-symbols-outlined {
  font-size: 1.25rem;
  color: #fff;
  transition: transform 0.2s ease;
}

.auth-recuperar-submit:hover:not(:disabled) .material-symbols-outlined:last-child {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .auth-recuperar-submit,
  .auth-recuperar-submit .material-symbols-outlined {
    transition: none;
  }

  .auth-recuperar-submit:active {
    transform: none;
  }
}
