:root {
    --brand-primary: #3b82c4;
    --primary-blue: var(--brand-primary);
}

body {
    align-items: center;
    background: linear-gradient(135deg, #2d3436 0%, var(--brand-primary) 100%);
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
    justify-content: center;
    min-height: 100vh;
}

.auth-container { max-width: 420px; padding: 20px; width: 100%; }
.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 40px;
}
.logo-section { margin-bottom: 32px; text-align: center; }
.logo-icon {
    align-items: center;
    background: var(--brand-primary);
    border-radius: 12px;
    display: inline-flex;
    height: 60px;
    justify-content: center;
    margin-bottom: 16px;
    width: 60px;
}
.logo-icon-success { background: #22c55e; }
.logo-icon i { font-size: 28px; }
.form-control { border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; padding: 12px 16px; }
.form-control:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.1); }
.btn-primary {
    background: var(--brand-primary);
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #2e6ba3; box-shadow: 0 4px 12px rgba(59, 130, 196, 0.3); transform: translateY(-1px); }
.form-label { color: #4a5568; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.alert { border: 0; border-radius: 8px; font-size: 14px; padding: 12px 16px; }
.alert-danger { background: #fee; color: #c53030; }
.alert-success { background: #e6ffed; color: #22543d; }
.divider { margin: 24px 0; position: relative; text-align: center; }
.divider::before { background: #e0e0e0; content: ""; height: 1px; left: 0; position: absolute; right: 0; top: 50%; }
.divider span { background: #fff; color: #718096; font-size: 13px; padding: 0 16px; position: relative; }
.social-login { display: flex; gap: 12px; }
.social-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #4a5568;
    display: flex;
    flex: 1;
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    padding: 10px;
    transition: background-color 0.2s, border-color 0.2s;
}
.social-btn:hover { background: #f7fafc; border-color: #cbd5e0; }
.input-group-text { background: #f8f9fa; border: 1px solid #e0e0e0; border-right: 0; color: #718096; }
.password-toggle { background: #f8f9fa; border: 1px solid #e0e0e0; border-left: 0; color: #718096; }
.password-toggle:hover,
.password-toggle:focus-visible { background: #eef1f4; border-color: #e0e0e0; color: var(--brand-primary); }
.form-check-input:checked { background-color: var(--brand-primary); border-color: var(--brand-primary); }
.auth-link { color: var(--brand-primary); font-weight: 500; }

@media (max-width: 479.98px) {
    .auth-card { padding: 28px 22px; }
}
