/* ============================================
   ENZ Pager — Login Page Styles
   ============================================ */

.login-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 24px;
  padding-top: calc(40px + var(--safe-top));
  padding-bottom: calc(40px + var(--safe-bottom));
  gap: 32px;
}

/* ---- Logo Section ---- */
.logo-section {
  text-align: center;
}

.logo-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.3));
}

.logo-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #DC2626 0%, #F59E0B 50%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.logo-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Service Badges ---- */
.service-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.badge-fire {
  background: var(--fire-bg);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: var(--fire-primary);
}
.badge-fire .badge-dot { background: var(--fire-primary); box-shadow: 0 0 6px var(--fire-primary); }

.badge-ambulance {
  background: var(--ambulance-bg);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--ambulance-primary);
}
.badge-ambulance .badge-dot { background: var(--ambulance-primary); box-shadow: 0 0 6px var(--ambulance-primary); }

.badge-aos {
  background: var(--aos-bg);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--aos-primary);
}
.badge-aos .badge-dot { background: var(--aos-primary); box-shadow: 0 0 6px var(--aos-primary); }

/* ---- Login Card ---- */
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 32px;
  border-radius: var(--radius-xl);
  text-align: center;
}

.login-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: var(--discord-primary);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.4);
}

.discord-btn:active {
  transform: translateY(0);
}

.discord-btn svg {
  flex-shrink: 0;
}

/* ---- Footer ---- */
.login-footer {
  text-align: center;
}

.login-footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.divider {
  opacity: 0.4;
}

/* ---- Loading ---- */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-primary);
}

.loading-overlay p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
