/* login.css */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  margin: 0;
  padding: 0;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 2rem;
}

.login-card {
  background: white;
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.login-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #1e293b;
}

.login-card p {
  margin-bottom: 1.5rem;
  color: #64748b; /* slate-500 */
}

.login-card input {
  width: 92%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-card input:focus {
  border-color: #2563eb; /* blue-600 */
  outline: none;
}

.login-card button {
  width: 100%;
  padding: 0.75rem;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-card button:hover {
  background-color: #1d4ed8;
}

.switch-link {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #64748b;
}

.switch-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.switch-link a:hover {
  text-decoration: underline;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.google-login-btn {
  background-color: #fff;
  color: #444;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 10px;
}

.google-login-btn:hover {
  background-color: #f9f9f9;
  transform: translateY(-1px);
}

/* Style for official Google Sign-In button */
.g_id_signin {
  margin-top: 10px;
  width: 100% !important;
  display: flex;
  justify-content: center;
}

.forgot-password {
  text-align: right;
  margin-top: 1px;
  margin-bottom: 1rem;
}

.forgot-password a {
  font-size: 0.85rem;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #2563eb;
}

/* Divider between form and Google login */
.divider {
  margin: 1.5rem 0;
  text-align: center;
  position: relative;
  font-size: 0.9rem;
  color: #94a3b8;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e2e8f0;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.logo-link{
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}
.logo-link:hover{
  opacity: 0.85;
}