/* ===== Style for Django AllAuth Google Login Page ===== */
body > h1 {
  display: none; /* Hide the plain "Sign In Via Google" title */
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
}

form[action*="google"] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

form[action*="google"] > div,
form[action*="google"] > p {
  display: none; /* Hide unnecessary text */
}

form[action*="google"]::before {
  content: "Sign in with Google";
  font-size: 24px;
  font-weight: 600;
  color: #222;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}

form[action*="google"] button {
  background: #4285F4;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

form[action*="google"] button:hover {
  background: #357ae8;
}

form[action*="google"] button::before {
  content: "";
  background-image: url("https://developers.google.com/identity/images/g-logo.png");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: left center;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}
