body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    color: #333;
}
a {
    color: #E94057;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-branding {
    width: 45%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/img/auth-background.jpg) no-repeat center center;
    background-size: cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-sizing: border-box;
}
.branding-content { max-width: 400px; }
.branding-content .logo { font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 2rem; display: inline-block; }
.branding-content h1 { font-size: 2.5rem; font-weight: 600; margin-bottom: 2rem; line-height: 1.3; }
.branding-content ul { list-style: none; padding: 0; margin: 0 0 3rem 0; }
.branding-content li { font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial { border-left: 3px solid #E94057; padding-left: 1.5rem; }
.testimonial p { font-style: italic; margin: 0 0 0.5rem 0; }
.testimonial span { font-weight: 600; }

.auth-form-container {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-sizing: border-box;
    background-color: #fff;
}
.form-wrapper { width: 100%; max-width: 400px; }
.form-wrapper h2 { font-size: 1.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.form-wrapper p { color: #666; margin-bottom: 1.5rem; }

.flash-message {
    padding: 15px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid transparent;
}
.flash-message.alert-success, .flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.flash-message.alert-danger, .flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.social-logins { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5rem; }
.social-btn {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}
.social-btn:hover { background-color: #f7f7f7; }
.social-btn img { height: 20px; width: 20px; }

.separator { display: flex; align-items: center; text-align: center; color: #aaa; margin: 1.5rem 0; }
.separator::before, .separator::after { content: ''; flex: 1; border-bottom: 1px solid #ddd; }
.separator span { padding: 0 10px; }

.input-group { margin-bottom: 1rem; }
.input-group label { display: block; font-weight: 500; margin-bottom: 5px; }
.input-group input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; }

.submit-btn { width: 100%; padding: 14px; background: linear-gradient(90deg, #8A2387, #E94057); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 1rem; }
.forgot-password { display: block; text-align: right; margin-bottom: 1rem; font-size: 0.9rem; }
.form-footer { font-size: 0.8rem; color: #888; text-align: center; margin-top: 1.5rem; }

.flash-message { padding: 15px; margin-bottom: 1rem; border-radius: 8px; text-align: center; font-weight: 500; }
.flash-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 45px; }
.toggle-password {
    background: none; border: none; padding: 0; position: absolute;
    top: 50%; right: 15px; transform: translateY(-50%);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #a0aec0;
}
.toggle-password:hover { color: #4a5568; }
.toggle-password svg { width: 20px; height: 20px; }
.hidden { display: none; }

@media (max-width: 900px) {
    .auth-branding { display: none; }
    .auth-form-container { width: 100%; }
}