/* Base */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9fafb;
  color: #333;
}

/* Container for auth pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: #fefefe;
}

/* Auth card styling */
.auth-card {
  background: #ffffff;
  padding: 40px 60px 40px 40px;
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-top: 6px solid #e11d48;
  text-align: center;
}

/* Logo */
.auth-card img {
  display: block;
  margin: 0 auto 16px;
  max-width: 130px;
}

/* Heading */
.auth-card h2 {
  margin-bottom: 25px;
  color: #e11d48;
  font-size: 1.7rem;
  font-weight: 600;
}

/* Inputs */
.auth-card input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.auth-card input:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);
  outline: none;
  background-color: #fff;
}

/* Primary button */
.auth-card .btn {
  height: 48px;
  background: #e11d48;
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-card .btn:hover {
  background: #be123c;
}

/* OR Divider */
.auth-divider {
  margin: 20px 0;
  color: #999;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Google button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px; /* Matches Register button height */
  background: #ffffff;
  color: #444;
  border: 1px solid #ddd;
  padding: 0 16px;
  font-weight: 500;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.google-btn img {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}


.google-btn:hover {
  background: #f1f1f1;
  color: #000;
}

/* Footer links */
.auth-card p {
  margin-top: 24px;
  font-size: 0.95rem;
}

.auth-card a {
  color: #e11d48;
  text-decoration: none;
}

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

.google-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #e11d48;
  font-weight: 500;
  transition: color 0.2s;
  vertical-align: middle;
}

.google-link:hover {
  color: #be123c;
  text-decoration: underline;
}

.google-link img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

input.is-invalid {
  border: 1px solid #dc3545;
}

.alert {
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 4px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #842029;
}

.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
}
