/* =========================================
   LOGIN / AUTH PAGE STYLES
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #24b29b, #117a65);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.login-wrapper { display: flex; align-items: center; justify-content: space-evenly; width: 100%; max-width: 1200px; gap: 40px; }
.illustration-col { flex: 1; display: flex; justify-content: center; align-items: center; }
.illustration-col img { width: 100%; max-width: 550px; height: auto; }
.form-col { flex: 1; display: flex; justify-content: center; }
.auth-card { background: white; padding: 50px 45px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); width: 100%; max-width: 450px; }
.logo-container { text-align: center; margin-bottom: 20px; }
.logo-container img { max-height: 80px; width: auto; }
.text-group { margin-bottom: 30px; }
.text-group p  { color: #475569; font-size: 0.9rem; margin-bottom: 4px; }
.text-group h2 { color: #0f172a; font-size: 1.4rem; font-weight: 600; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group input { width: 100%; padding: 14px 20px; border: 1px solid #cbd5e1; border-radius: 30px; font-size: 0.95rem; background: #ffffff; transition: all 0.3s ease; font-family: 'Poppins', sans-serif; color: #1e293b; }
.form-group input[type="password"],
.form-group input[type="text"]#password { padding-right: 50px; }
.form-group input::placeholder { color: #94a3b8; }
.form-group input:focus { border-color: #178973; outline: none; box-shadow: 0 0 0 4px rgba(23,137,115,0.15); }
.toggle-password { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #94a3b8; display: flex; align-items: center; justify-content: center; transition: color 0.3s; }
.toggle-password:hover { color: #178973; }
.btn-submit { background: #178973; color: white; width: 100%; padding: 14px; border: none; border-radius: 30px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit:hover { background: #116857; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17,104,87,0.3); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.forgot-link { display: block; text-align: center; margin-top: 25px; color: #178973; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: opacity 0.2s; }
.forgot-link:hover { opacity: 0.8; }
.alert-error   { background: #fef2f2; color: #ef4444; padding: 12px; border-radius: 12px; margin-bottom: 20px; font-size: 0.85rem; border: 1px solid #fca5a5; text-align: center; font-weight: 600; }
.alert-success { background: #ecfdf5; color: #10b981; padding: 12px; border-radius: 12px; margin-bottom: 20px; font-size: 0.85rem; border: 1px solid #a7f3d0; text-align: center; font-weight: 600; }
@media (max-width: 900px) {
    .login-wrapper { flex-direction: column; }
    .illustration-col { display: none; }
}
