/* Acabamento visual do modal de login/cadastro (tons roxo/rosa do tema) */

/* Fundo escurecido atrás do modal */
div[class*="bg-black/70"][class*="backdrop-blur-md"] {
  background: radial-gradient(circle at 50% 30%, rgba(88, 28, 170, .45), rgba(8, 3, 20, .88) 70%) !important;
}

/* Cartão */
.auth-card {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(230, 0, 118, .28), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(173, 70, 255, .22), transparent 60%),
    linear-gradient(165deg, #2a1452 0%, #1b0d36 55%, #12082a 100%) !important;
  border: 1px solid rgba(192, 112, 255, .32) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .65),
    0 0 50px rgba(173, 70, 255, .22),
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  padding-top: 14px;
  animation: authPop .28s cubic-bezier(.2, .9, .3, 1.2);
}

/* Bolhas decorativas no topo */
.auth-card::before,
.auth-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.auth-card::before {
  width: 120px; height: 120px; top: -46px; left: -40px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), rgba(230, 0, 118, .35) 40%, transparent 70%);
  filter: blur(2px);
}
.auth-card::after {
  width: 160px; height: 160px; bottom: -80px; right: -70px;
  background: radial-gradient(circle, rgba(173, 70, 255, .28), transparent 65%);
  filter: blur(6px);
}
.auth-card > * { position: relative; z-index: 1; }

@keyframes authPop {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* Botão fechar */
.auth-card > button:first-child {
  position: absolute !important;
  z-index: 2;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7) !important;
}
.auth-card > button:first-child:hover {
  background: rgba(230, 0, 118, .25) !important;
  color: #fff !important;
}

/* Abas Cadastrar / Entrar */
.auth-card > div.mx-5 {
  margin: 4px 60px 0 20px !important;
  background: rgba(0, 0, 0, .28) !important;
  border: 1px solid rgba(192, 112, 255, .18);
  border-radius: 14px !important;
}
.auth-card > div.mx-5 > button {
  border-radius: 10px !important;
  letter-spacing: .02em;
}
.auth-card > div.mx-5 > button.bgbotaop {
  background: linear-gradient(135deg, #ff2d95 0%, #c13cff 100%) !important;
  box-shadow: 0 4px 14px rgba(230, 0, 118, .4), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
}

/* Título e subtítulo */
.auth-card h2 {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  margin-top: 6px;
  background: linear-gradient(90deg, #ffffff 0%, #ffd1ec 50%, #e9c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-card h2 + p {
  color: rgba(226, 205, 255, .65) !important;
  font-size: 13px !important;
}

/* Campos */
.auth-card form input[type="text"],
.auth-card form input[type="password"] {
  background: rgba(255, 255, 255, .055) !important;
  border: 1px solid rgba(192, 112, 255, .22) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-size: 14px !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.auth-card form input[type="text"]::placeholder,
.auth-card form input[type="password"]::placeholder {
  color: rgba(226, 205, 255, .45) !important;
}
.auth-card form input[type="text"]:hover,
.auth-card form input[type="password"]:hover {
  border-color: rgba(192, 112, 255, .4) !important;
}
.auth-card form input[type="text"]:focus,
.auth-card form input[type="password"]:focus {
  background: rgba(255, 255, 255, .08) !important;
  border-color: #e04cff !important;
  box-shadow: 0 0 0 3px rgba(224, 76, 255, .2), 0 0 18px rgba(230, 0, 118, .18) !important;
}

/* Ícones dos campos */
.auth-card form .group > svg {
  color: rgba(214, 170, 255, .55) !important;
}
.auth-card form .group:focus-within > svg {
  color: #ff5fb4 !important;
}
.auth-card form .group > button {
  color: rgba(214, 170, 255, .55) !important;
}
.auth-card form .group > button:hover {
  color: #fff !important;
}

.auth-card input[type="checkbox"] { accent-color: #e60076; }

/* Botão principal */
.auth-card form button[type="submit"] {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  margin-top: 6px;
  border-radius: 14px !important;
  font-size: 15px !important;
  letter-spacing: .03em;
  background: linear-gradient(135deg, #ff2d95 0%, #e60076 40%, #b14bff 100%) !important;
  background-size: 200% 100% !important;
  box-shadow: 0 8px 22px rgba(230, 0, 118, .45), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
  transition: transform .15s ease, box-shadow .2s ease, background-position .4s ease !important;
}
.auth-card form button[type="submit"]:hover {
  opacity: 1 !important;
  background-position: 100% 0 !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(230, 0, 118, .55), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
}

/* Rodapé "Já tem conta?" */
.auth-card .text-center.mt-5 > span {
  color: rgba(226, 205, 255, .55) !important;
}
.auth-card .text-center.mt-5 > button {
  color: #ff5fb4 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
