/* ============================================================
   FirePulse — Login Page Styles (v5 — Google Only)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  overscroll-behavior: none;
}

/* ============================================================
   LOGIN SECTION
   ============================================================ */
.login-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #000000;
}

.bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.glow-1, .glow-2 {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.06) 0%, transparent 70%);
  filter: blur(60px);
}
.glow-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.glow-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }

.login-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: boxFade 0.4s ease-out;
}
@keyframes boxFade {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   BRAND
   ============================================================ */
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.logo-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}
.login-logo { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.brand-name span { color: #ff0000; }

/* ============================================================
   HEADER
   ============================================================ */
.login-header {
  text-align: center;
  margin-bottom: 22px;
}
.login-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}
.login-header p {
  font-size: 13px;
  color: #999999;
}

/* ============================================================
   MESSAGES
   ============================================================ */
.auth-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff4444;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 0, 0.06);
  border: 1px solid rgba(0, 255, 0, 0.15);
  color: #44ff44;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ============================================================
   GOOGLE LOGIN BUTTON (Main CTA)
   ============================================================ */
.btn-google-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 52px;
  margin-bottom: 16px;
}
.btn-google-login:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #c6c6c6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
.btn-google-login:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}
.btn-google-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-google-login svg {
  flex-shrink: 0;
}

/* ============================================================
   INFO BOX
   ============================================================ */
.login-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.login-info-box i {
  color: #3b82f6;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.login-info-box > div { flex: 1; min-width: 0; }
.login-info-box strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.login-info-box p {
  font-size: 12px;
  color: #aaaaaa;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.login-footer {
  text-align: center;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #1a1a1a;
  font-size: 13px;
  color: #999999;
}
.login-footer p { margin: 0; }
.login-footer a {
  color: #ff0000;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}
.login-footer a:hover {
  color: #cc0000;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — Short screens
   ============================================================ */
@media (max-height: 700px) {
  .login-wrapper { padding: 24px 20px; }
  .logo-wrapper { width: 52px; height: 52px; }
  .brand-name { font-size: 19px; }
  .login-header h2 { font-size: 20px; }
  .login-brand { margin-bottom: 18px; }
  .login-header { margin-bottom: 18px; }
  .btn-google-login { padding: 13px 18px; min-height: 46px; font-size: 14px; margin-bottom: 12px; }
  .login-info-box { padding: 11px 13px; margin-bottom: 12px; }
  .login-footer { padding-top: 12px; }
}

@media (max-height: 600px) {
  .login-wrapper { padding: 20px 16px; }
  .logo-wrapper { width: 46px; height: 46px; }
  .brand-name { font-size: 17px; }
  .login-header h2 { font-size: 18px; }
  .login-header p { font-size: 12px; }
  .btn-google-login { padding: 11px 16px; min-height: 42px; font-size: 13px; }
  .login-info-box { padding: 10px 12px; }
  .login-info-box i { font-size: 16px; }
  .login-footer { font-size: 12px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  body { padding: 12px; }
  .login-wrapper { padding: 26px 20px; }
  .logo-wrapper { width: 56px; height: 56px; }
  .brand-name { font-size: 20px; }
  .login-header h2 { font-size: 20px; }

  .btn-google-login {
    font-size: 14px;
    padding: 13px 16px;
    min-height: 48px;
    gap: 10px;
  }
  .btn-google-login svg { width: 18px; height: 18px; }

  .login-info-box { padding: 12px 14px; gap: 10px; }
  .login-info-box i { font-size: 18px; }
  .login-info-box strong { font-size: 12px; }
  .login-info-box p { font-size: 11px; }

  .login-footer { font-size: 12px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  .login-wrapper { padding: 20px 14px; }
  .logo-wrapper { width: 48px; height: 48px; }
  .brand-name { font-size: 18px; }
  .login-header h2 { font-size: 18px; }
  .login-header p { font-size: 11px; }

  .btn-google-login {
    font-size: 13px;
    padding: 12px 14px;
    min-height: 44px;
    gap: 8px;
  }
  .btn-google-login svg { width: 16px; height: 16px; }

  .login-info-box { padding: 10px 12px; }
  .login-info-box i { font-size: 16px; }
  .login-info-box strong { font-size: 11px; }
  .login-info-box p { font-size: 10px; }

  .login-footer { font-size: 11px; }
}

/* END OF login.css */