/* ============================================================
   +PROMO — Login / Auth Styles (login.css)
   Estética: Clean Tech / Fintech Premium
   ============================================================ */

body {
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}

/* ── Lado esquerdo (amarelo) ── */
.auth-left {
  background: var(--yellow);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-brand {
  font-family: 'Nunito', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.auth-brand .mark {
  width: 36px;
  height: 36px;
  background: var(--black);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: var(--yellow);
}

.auth-tagline {
  font-size: 16px;
  color: rgba(0, 0, 0, .6);
  line-height: 1.65;
  margin-bottom: 44px;
}

.auth-perk {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

.ap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Lado direito (painel de login) ── */
.auth-right {
  background: var(--white);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-title {
  font-family: 'Nunito', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 4px;
}

.auth-sub {
  font-size: 15px;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.auth-footer-link {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--gray-500);
}

.auth-footer-link a {
  color: var(--yellow-d);
  font-weight: 700;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ── Esqueci minha senha (link) ── */
.forgot {
  font-size: 12px;
  color: var(--yellow-d);
  font-weight: 600;
  display: block;
  text-align: right;
  margin-top: 4px;
  cursor: pointer;
  transition: color .15s ease;
}

.forgot:hover {
  color: var(--yellow);
  text-decoration: underline;
}

/* ── Form Inputs Clean Tech ── */
.auth-right .form-input, .auth-right .form-select {
  background: var(--bg-input, #141414);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--white, #FFF);
}
.auth-right .form-input:focus, .auth-right .form-select:focus {
  border-color: var(--yellow);
  background: var(--bg-input, #1A1A1A);
}
.auth-right .form-label {
  color: var(--gray-500);
}
.auth-right .input-icon {
  color: var(--gray-400);
}
.auth-right .btn-eye {
  color: var(--gray-400);
}
.auth-right .btn-eye:hover {
  color: var(--yellow);
}

/* ── Form Seals (trust badges) ── */
.form-seals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: #888;
  font-weight: 500;
}
.form-seals span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.form-seals svg {
  color: #888;
  width: 14px;
  height: 14px;
}
.seal-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #CCC;
}

/* ============================================================
   BOTAO GOOGLE — Clean Tech / Dark Translucent
   ============================================================ */
.btn-google {
  background: rgba(26, 26, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-google::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(247, 197, 0, 0) 0%,
    rgba(247, 197, 0, 0.15) 50%,
    rgba(247, 197, 0, 0) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}

.btn-google:hover {
  background: rgba(26, 26, 26, 0.98);
  border-color: rgba(247, 197, 0, 0.25);
  box-shadow:
    0 0 20px rgba(247, 197, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.20);
  transform: translateY(-1px);
}

.btn-google:hover::before {
  opacity: 1;
}

.btn-google:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .22s ease;
}

.btn-google:hover svg {
  transform: scale(1.08);
}

/* ============================================================
   MODAL GLASSMORPHISM — Recuperacao de Senha
   ============================================================ */

/* Overlay escuro */
.reset-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.reset-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Painel de vidro */
.reset-modal {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform .3s cubic-bezier(0.19, 1, 0.22, 1);
}

.reset-overlay.active .reset-modal {
  transform: translateY(0) scale(1);
}

/* Cabecalho do modal */
.reset-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reset-modal-title {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
}

.reset-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-400);
  transition: all .15s ease;
  flex-shrink: 0;
}

.reset-modal-close:hover {
  border-color: var(--gray-400);
  color: var(--black);
  background: var(--gray-50);
}

.reset-modal-close svg {
  width: 14px;
  height: 14px;
}

.reset-modal-sub {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Formulario dentro do modal */
.reset-modal .form-group {
  margin-bottom: 20px;
}

.reset-modal .form-input {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--gray-200);
}

.reset-modal .form-input:focus {
  border-color: var(--yellow);
  background: var(--yellow-bg);
}

/* Botao de enviar resetar */
.btn-reset-send {
  width: 100%;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}

.btn-reset-send:hover {
  background: var(--yellow-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(247, 197, 0, 0.4);
}

.btn-reset-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Mensagem de feedback dentro do modal */
.reset-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  display: none;
  animation: fadeSlideUp .3s ease;
}

.reset-feedback.show {
  display: block;
}

.reset-feedback.success {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(24, 185, 106, 0.2);
}

.reset-feedback.error {
  background: #fff5f5;
  color: var(--red);
  border: 1px solid rgba(229, 57, 53, 0.15);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Selo de seguranca no modal ── */
.reset-modal-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
}

.reset-modal-seal svg {
  color: var(--green);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 768px) {
  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .auth-left {
    display: none;
  }

  .auth-right {
    padding: 32px 20px;
    min-height: calc(100vh - 64px);
    justify-content: flex-start;
    padding-top: 40px;
  }

  .auth-title {
    font-size: 24px;
  }

  .reset-modal {
    margin: 16px;
    padding: 28px 20px;
  }

  .btn-google {
    padding: 12px 16px;
    font-size: 13px;
  }

  .form-seals {
    font-size: 10px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .auth-right {
    padding: 28px 16px;
    padding-top: 36px;
  }

  .auth-title {
    font-size: 22px;
  }

  .auth-sub {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .reset-modal {
    margin: 12px;
    padding: 24px 16px;
  }

  .form-seals {
    font-size: 10px;
    gap: 8px;
  }

  .divider {
    margin: 16px 0;
  }
}

@media (max-width: 380px) {
  .auth-right {
    padding: 20px 14px;
    padding-top: 28px;
  }

  .auth-title {
    font-size: 20px;
  }

  .auth-sub {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .form-seals {
    font-size: 9px;
    gap: 6px;
  }

  .reset-modal {
    margin: 8px;
    padding: 20px 14px;
  }

  .reset-modal-title {
    font-size: 18px;
  }
}

