/* ================= LOGIN PAGE ================= */

/* ===== ISOLATE LOGIN PAGE FROM GLOBAL CSS ===== */
body.login-page {
  margin: 0;
  padding: 0;
  padding-bottom: 0; /* cancel global bottom nav spacing */
  background: #f1f5f9; /* light page background */
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* allow header at top */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===== LOGIN HEADER (same as other pages) ===== */
body.login-page header {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
  color: #fff;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(37,99,235,0.30);
}


body.login-page .site-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== LANDING PAGE SYMBOL (LEFT) ===== */
body.login-page .home-symbol {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;              /* match other pages (bigger icon) */
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  z-index: 20;

  /* Visual style same as other headers */
  background: rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}

body.login-page .home-symbol:hover {
  opacity: 0.8;
}


/* Hide any right-side auth button/symbol on login page */
body.login-page .auth-btn {
  display: none !important;
}

/* Hide any other header links/icons except the left home symbol */
body.login-page header a:not(.home-symbol) {
  display: none !important;
}


body.login-page .site-header .title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Override global container */
body.login-page .container {
  margin: auto; /* keep login box centered vertically */
  max-width: 420px;
  width: 100%;
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  text-align: center;
}

/* Override global inputs */
body.login-page input {
  background: #f8fafc;
}

/* Prevent global button conflicts */
body.login-page button {
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

/* Login card container */
.login-page .container {
  max-width: 420px;
  width: 100%;
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  text-align: center;
  margin: 0 auto;
}

/* Logo circle */
.login-page .logo {
  width: 64px;
  height: 64px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
}

/* Inputs */
.login-page input {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  font-size: 15px;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.login-page input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

/* Primary button */
.login-page button {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.login-page button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.login-page button:active {
  transform: translateY(0);
}

/* Secondary button (optional) */
.login-page button.secondary {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #e2e8f0;
  box-shadow: none;
}

.login-page button.secondary:hover {
  background: #f8fafc;
}

/* Status / messages */
.login-page .status {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 600px) {
  .login-page .container {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .login-page input {
    font-size: 16px; /* prevents iOS zoom */
  }

  .login-page button {
    font-size: 16px;
    padding: 14px;
  }
}