/* =========================
   AUTH PAGE BASE
========================= */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   CENTER WRAPPER
========================= */

.auth-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* =========================
   CARD
========================= */

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #111827;
  padding: 40px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  text-align: center;
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-card h1 {
  margin-bottom: 6px;
}

.auth-card h2 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* =========================
   INPUTS
========================= */

.input-group {
  margin-bottom: 16px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0F172A;
  color: var(--text-main);
  font-size: 14px;
  transition: border 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Password Toggle */

.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--primary);
}

/* =========================
   BUTTONS
========================= */

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.primary-btn,
.secondary-btn,
.google-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

/* Google Button */

.google-btn {
  background: #ffffff;
  color: #111;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.google-icon {
  width: 18px;
}

/* =========================
   DIVIDER
========================= */

.auth-divider {
  margin: 20px 0;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider::before {
  margin-right: 10px;
}

.auth-divider::after {
  margin-left: 10px;
}

/* =========================
   FORGOT PASSWORD
========================= */

.forgot-password {
  text-align: right;
  margin-bottom: 16px;
  font-size: 13px;
}

.forgot-password a {
  color: var(--primary);
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* =========================
   STATUS + ERRORS
========================= */

.status {
  font-size: 13px;
  margin-top: 10px;
}

.error-text {
  color: #ef4444;
}

/* =========================
   BACK LINK
========================= */

.auth-home-link {
  margin-top: 20px;
  font-size: 13px;
}

.auth-home-link a {
  color: var(--primary);
  text-decoration: none;
}

.auth-home-link a:hover {
  text-decoration: underline;
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #ffffff;
  color: #111;
  border: none;
}

.google-icon {
  width: 18px;
  height: 18px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

  .auth-card {
    padding: 30px 20px;
  }

  .auth-card h1 {
    font-size: 20px;
  }

}
