/* =====================
   RESET & BASE
===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* =====================
   LAYOUT
===================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* FIX: hindi na literal center */
  justify-content: center;
  padding: 64px 24px 40px; /* FIX: may hinga sa taas */
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* =====================
   BRAND
===================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text h1 {
  font-size: 18px;
  color: #1e3a8a;
}

.brand-text p {
  font-size: 12px;
  color: #6b7280;
}

/* =====================
   HEADINGS
===================== */
.auth-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.auth-card .subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

/* =====================
   FORM
===================== */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* =====================
   BUTTONS
===================== */
.btn-primary {
  width: 100%;
  background: #1e3a8a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-secondary {
  width: 100%;
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: #f9fafb;
}

/* =====================
   GOOGLE BUTTON
===================== */
.google-btn img {
  width: 18px;
  height: 18px;
}

/* =====================
   FOOTER LINKS
===================== */
.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.auth-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* =====================
   PROFILE / COMPLETE PAGE
===================== */
.profile-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1e3a8a;
  margin-bottom: 16px;
}

/* =====================
   ERROR / INFO
===================== */
.error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.success {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 420px) {
  .auth-card {
    padding: 24px 20px;
  }

  .auth-page {
    padding-top: 48px;
  }
}
