/* ==========================================================
   LOGIN SCREEN STYLING (Glassmorphism & Gradients)
   ========================================================== */
.login-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 24px;
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

/* Background glowing decoration */
.login-bg-decor {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(16, 185, 129, 0.05) 70%);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 1;
  animation: bg-glow-float 10s ease-in-out infinite alternate;
}

@keyframes bg-glow-float {
  0% { transform: translate(-20px, -20px); }
  100% { transform: translate(20px, 20px); }
}

.login-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.login-logo i {
  width: 24px;
  height: 24px;
}

.login-card h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0;
  color: #0f172a;
}

.login-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-btn {
  margin-top: 8px;
  width: 100%;
}


/* Compactado móvil. Vivía en la cola responsive mixta (85); el único
   consumidor de .login-card son las pantallas de autenticación. */
@media (max-width: 768px) {
  .login-card {
    padding: 24px;
  }
}
