/* ===========================
   AUTH PAGES STYLES
   =========================== */

.auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #333;
}

.auth-header p {
  color: #666;
  font-size: 16px;
}

/* ===========================
   FORM STYLES
   =========================== */

.auth-form {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #0b8c1a;
}

.form-group small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #999;
}

/* ===========================
   BUTTONS
   =========================== */

.button-full {
  width: 100%;
  margin-top: 10px;
}

.button-google {
  width: 100%;
  background: white;
  color: #333;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  font-weight: 600;
}

.button-google:hover {
  background: #f8f9fa;
  border-color: #ccc;
  transform: translateY(0);
}

.button-google svg {
  flex-shrink: 0;
}

/* ===========================
   DIVIDER
   =========================== */

.divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  position: relative;
  background: white;
  padding: 0 15px;
  color: #999;
  font-size: 14px;
  font-weight: 600;
}

/* ===========================
   ALERTS
   =========================== */

.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.alert-success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

/* ===========================
   FOOTER
   =========================== */

.auth-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.auth-footer p {
  font-size: 14px;
  color: #666;
}

.auth-footer a {
  color: #0b8c1a;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.back-home {
  text-align: center;
  margin-top: 20px;
}

.back-home a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.9;
}

.back-home a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
  .auth-card {
    padding: 30px 20px;
  }

  .auth-header h1 {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .button-google {
    font-size: 14px;
  }
}