/* === Auth Page Styles === */

.auth-container {
  padding: 8rem 1rem 5rem 1rem; /* Extra padding at top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
}

.auth-form {
  width: 100%;
  max-width: 450px;
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 1.25rem;
}

.auth-form h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-head);
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-form input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

.auth-form input:focus {
  border-color: var(--primary-color);
}

.auth-form .btn {
  width: 100%;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-light);
}

.auth-switch a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

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

/* === OAuth Button Styles === */

/* Divider ("OR") */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #888;
  margin: 1.25rem 0;
}

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

.auth-divider:not(:empty)::before {
  margin-right: 0.5em;
}

.auth-divider:not(:empty)::after {
  margin-left: 0.5em;
}

/* Google Button */
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: var(--white);
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-oauth img {
  width: 20px;
  height: 20px;
}

.btn-oauth:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}
