/* Login page styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a73e8 0%, #4285f4 30%, #34a853 70%, #0d652d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(66,133,244,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,115,232,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow:
    0 20px 60px rgba(26, 115, 232, 0.2),
    0 0 0 1px rgba(66, 133, 244, 0.2);
  backdrop-filter: blur(10px);
  animation: cardAppear 0.6s ease-out;
}

@keyframes cardAppear {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.sunflower-icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 12px;
  animation: sunflowerBounce 2s ease-in-out infinite;
}

@keyframes sunflowerBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-5deg); }
  75% { transform: scale(1.05) rotate(5deg); }
}

.login-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: #1a73e8;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #34a853;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #c4d7f2;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  background: #f8faff;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
  background: #fff;
}

.form-group input::placeholder {
  color: #9ab4d6;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1a73e8, #4285f4);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
  letter-spacing: 1px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #c4d7f2;
}

.login-footer p {
  font-size: 13px;
  color: #5f7ca3;
  font-style: italic;
}

/* Notification animations */
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
  }
  .sunflower-icon {
    font-size: 48px;
  }
  .login-header h1 {
    font-size: 20px;
  }
}
