body {
  font-family: "Poppins", sans-serif;
  background: #fff5f5;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(120deg, #b30000, #ff4d4d);
  padding: 20px; /* ensures space on small screens */
  box-sizing: border-box;
}

.auth-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-sizing: border-box;
}

.auth-box h2 {
  color: #b30000;
  margin-bottom: 10px;
}

.auth-subtitle {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  transition: 0.3s;
  box-sizing: border-box;
}

.auth-box input:focus {
  border-color: #b30000;
  box-shadow: 0 0 5px rgba(179, 0, 0, 0.3);
}

.auth-btn {
  width: 100%;
  background: #b30000;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.auth-btn:hover {
  background: #ff4d4d;
}

.auth-footer {
  margin-top: 20px;
  font-size: 0.9rem;
}

.auth-footer a {
  color: #b30000;
  text-decoration: none;
  font-weight: 500;
}

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

/* Password Wrapper & Toggle */
.password-wrapper {
  position: relative;
  width: 100%;
  margin: 10px 0;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
  margin: 0;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: #b30000;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #999;
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider::before {
  margin-right: 10px;
}

.divider::after {
  margin-left: 10px;
}

/* Google Sign-In Button */
.google-btn {
  width: 100%;
  background: white;
  color: #444;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  margin-bottom: 10px;
}

.google-btn:hover {
  background: #f8f8f8;
  border-color: #b30000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-btn i {
  color: #4285f4;
  font-size: 1.2rem;
}

/* Mobile Fix */
@media (max-width: 480px) {
  .auth-box {
    padding: 30px 20px;
  }
}
