/* Login page specific styles */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.login-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: #f9fafb;
}

.login-form {
  max-width: 500px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
}

.login-form h1 {
  margin: 0 0 1.5rem 0;
  font-size: 1.8rem;
  color: #374151;
  text-align: center;
}

/* Form elements */
.form-group { 
  margin-bottom: 1.5rem; 
}

.form-group label { 
  display: block; 
  margin-bottom: .5rem; 
  font-weight: 600; 
  color: #374151; 
}

.form-group input { 
  width: 100%; 
  padding: .875rem 1rem; 
  border: 2px solid #e5e7eb; 
  border-radius: .75rem; 
  font-size: 1rem; 
  transition: all 0.2s ease; 
}

.form-group input:focus { 
  outline: none; 
  border-color: #667eea; 
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); 
}

.password-input-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

button[type="submit"] { 
  width: 100%; 
  padding: 1rem; 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
  color: #fff; 
  border: 0; 
  border-radius: .75rem; 
  font-weight: 700; 
  cursor: pointer; 
  font-size: 1.1rem; 
  transition: all 0.2s ease; 
}

button[type="submit"]:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3); 
}

.oauth-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  color: #6b7280;
  font-size: 0.875rem;
}

.oauth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
  z-index: 1;
}

.oauth-divider span {
  background: white;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.btn-google {
  width: 100%;
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.btn-google:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.error-message { 
  color: #ef4444; 
  margin-top: .5rem; 
  min-height: 1.2rem; 
  font-size: 0.9rem; 
}

.login-links { 
  margin-top: 1.5rem; 
  font-size: .95rem; 
  text-align: center; 
  color: #6b7280; 
}

.login-links a { 
  color: #667eea; 
  text-decoration: none; 
  font-weight: 600; 
}

.login-links a:hover { 
  text-decoration: underline; 
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .hero-section {
    padding: clamp(60px, 15vw, 80px) 0 clamp(40px, 10vw, 60px);
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    line-height: 1.2;
    margin-bottom: clamp(12px, 3vw, 16px);
    padding: 0 clamp(12px, 3vw, 16px);
  }
  
  .hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
    line-height: 1.4;
    padding: 0 clamp(16px, 4vw, 20px);
  }
  
  .login-main {
    padding: clamp(12px, 3vw, 16px);
    min-height: calc(100vh - 160px);
  }
  
  .login-form {
    max-width: 100%;
    padding: clamp(20px, 5vw, 32px);
    border-radius: 1rem;
  }
}
