/* =============================================================
   PRISMA — Página: Autenticação
   Estilos da tela de login, troca de senha e primeiro acesso.
   Depende do Tailwind CDN carregado em base-login.html.
   ============================================================= */

/* ─── Material Symbols ───────────────────────────────────────── */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ─── Glass Panel ────────────────────────────────────────────── */
.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.dark .glass-panel {
  background: rgba(22, 32, 48, 0.70);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ─── Input Group ────────────────────────────────────────────── */
.auth-input-group {
  position: relative;
  transition: all 0.3s ease;
}

.auth-input-group:focus-within {
  transform: translateY(-2px);
}

.auth-input-group .input-icon {
  transition: all 0.3s ease;
}

.auth-input-group:focus-within .input-icon {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* ─── Gradient Text ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-sky-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Floating Card (hero stats) ─────────────────────────────── */
.floating-card {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ─── Shimmer ────────────────────────────────────────────────── */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left:  100%; }
}

/* ─── Custom Select Arrow ────────────────────────────────────── */
.auth-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
}

.dark .auth-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .floating-card,
  .shimmer::after {
    animation: none !important;
  }
}
