/* Login / signup pages (layout "auth") — charte Evan */
body.login-page {
  height: 100%; width: 100%; min-height: 100vh;
  background: var(--gradient-auth); background-size: 300% 300%; animation: gradientShift 10s ease infinite;
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.login-container { width: 100%; max-width: 420px; padding: 16px; animation: fadeIn 0.8s ease-out forwards; display: flex; flex-direction: column; justify-content: center; }
.login-card { background: #fff; border-radius: 12px; padding: 40px 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 8px; transition: box-shadow 0.3s ease; max-height: calc(100vh - 32px); overflow-y: auto; }
.login-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.15); }
.login-card .logo { width: 70px; margin: 0 auto 8px; display: block; }
.login-title { text-align: center; font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form label { font-size: 0.9rem; margin-bottom: -12px; font-weight: 500; }
.login-form input[type="email"], .login-form input[type="password"], .login-form input[type="text"] {
  padding: 12px 16px; border: 1px solid #dcdcdc; border-radius: 6px; font-size: 1rem; transition: border 0.3s ease, box-shadow 0.3s ease; width: 100%;
}
.login-form input:focus { border-color: #1FA732; outline: none; box-shadow: 0 0 0 3px rgba(31, 167, 50, 0.2); }
.login-form button, .login-form .btn {
  padding: 12px 16px; border: none; background-color: #1FA732; color: #fff; font-size: 1rem; font-weight: 600; border-radius: 6px;
  cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; text-align: center; text-decoration: none; width: 100%;
}
.login-form button:hover, .login-form .btn:hover { background-color: #157a28; transform: translateY(-1px); }
.separator { display: flex; align-items: center; text-align: center; gap: 8px; color: #999; font-size: 0.85rem; font-weight: 500; }
.separator::before, .separator::after { content: ""; flex: 1; height: 1px; background: #e0e0e0; }
.login-form .google-signin {
  display: flex; align-items: center; justify-content: center; gap: 8px; background: #ffffff; color: #444; font-size: 0.95rem; font-weight: 500;
  border: 1px solid #dcdcdc; border-radius: 6px; padding: 12px 16px; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.google-signin img { width: 18px; height: 18px; }
.login-form .google-signin:hover { background-color: #f9f9f9; border-color: #c2c2c2; transform: none; }
.signup-text, .forgot-password { text-align: center; font-size: 0.85rem; color: #666; }
.forgot-password { margin-top: -8px; }
.signup-text a, .forgot-password a { color: #1FA732; text-decoration: none; font-weight: 600; }
.signup-text a:hover, .forgot-password a:hover { text-decoration: underline; }
.login-form .checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.login-form .checkbox input { width: 16px; height: 16px; accent-color: #1FA732; }
.login-form .form-errors { font-size: 13px; }
@media (max-width: 480px) { .login-card { padding: 32px 24px; } .login-title { font-size: 1.4rem; } .login-card .logo { width: 60px; } }
.login-intro { text-align: center; font-size: 0.9rem; color: #666; line-height: 1.5; margin: -8px 0 12px; }
.login-help { font-size: 0.8rem; color: #8a8a8a; margin-top: -10px; }
