:root {
    --ant-primary: #1677ff;
    --ant-primary-hover: #4096ff;
    --ant-primary-active: #0958d9;
    --ant-primary-bg: #e6f4ff;
    --ant-error: #ff4d4f;
    --ant-error-bg: #fff2f0;
    --ant-text: rgba(0,0,0,0.88);
    --ant-text-secondary: rgba(0,0,0,0.65);
    --ant-text-tertiary: rgba(0,0,0,0.45);
    --ant-border: #d9d9d9;
    --ant-border-light: #f0f0f0;
    --ant-radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }

.auth-page { min-height: 100vh; background: #f0f5ff; }
.auth-container { display: flex; min-height: 100vh; }

/* ===== LEFT PANEL ===== */
.auth-left { flex: 1; background: linear-gradient(135deg, #1677ff 0%, #0958d9 50%, #003eb3 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px; position: relative; overflow: hidden; }
.auth-left::before { content: ''; position: absolute; top: -50%; right: -30%; width: 600px; height: 600px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.auth-left::after { content: ''; position: absolute; bottom: -20%; left: -20%; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; }

.auth-brand { text-align: center; color: #fff; position: relative; z-index: 1; margin-bottom: 60px; }
.brand-icon { width: 72px; height: 72px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 24px; border: 1px solid rgba(255,255,255,0.3); }
.auth-brand h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.auth-brand p { font-size: 15px; opacity: 0.8; line-height: 1.8; }

.auth-features { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 16px; color: #fff; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 16px 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); }
.feature-item i { font-size: 24px; opacity: 0.9; }
.feature-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.feature-item span { font-size: 13px; opacity: 0.7; }

/* ===== RIGHT PANEL ===== */
.auth-right { width: 480px; display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; }
.auth-form-wrapper { width: 100%; max-width: 380px; }

/* ===== FORM STYLES ===== */
.auth-form-title { font-size: 26px; font-weight: 700; color: var(--ant-text); margin-bottom: 6px; }
.auth-form-subtitle { font-size: 14px; color: var(--ant-text-tertiary); margin-bottom: 32px; }

.auth-form .form-group { margin-bottom: 20px; }
.auth-form .form-label { font-size: 14px; font-weight: 500; color: var(--ant-text); margin-bottom: 6px; display: block; }
.auth-form .form-control { width: 100%; height: 42px; border: 1px solid var(--ant-border); border-radius: var(--ant-radius); padding: 0 14px; font-size: 14px; transition: all 0.2s; color: var(--ant-text); background: #fff; }
.auth-form .form-control:focus { outline: none; border-color: var(--ant-primary); box-shadow: 0 0 0 3px rgba(22,119,255,0.1); }
.auth-form .form-control::placeholder { color: var(--ant-text-tertiary); }

.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ant-text-tertiary); font-size: 16px; }
.input-icon .form-control { padding-left: 42px; }

.auth-form .btn-login { width: 100%; height: 42px; background: var(--ant-primary); color: #fff; border: none; border-radius: var(--ant-radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 8px; }
.auth-form .btn-login:hover { background: var(--ant-primary-hover); }
.auth-form .btn-login:active { background: var(--ant-primary-active); }

.auth-form-footer { margin-top: 24px; text-align: center; font-size: 14px; color: var(--ant-text-tertiary); }
.auth-form-footer a { color: var(--ant-primary); text-decoration: none; font-weight: 500; }
.auth-form-footer a:hover { text-decoration: underline; }

.form-check { display: flex; align-items: center; gap: 8px; }
.form-check .form-check-input { width: 16px; height: 16px; border-radius: 4px; border-color: var(--ant-border); }
.form-check .form-check-input:checked { background-color: var(--ant-primary); border-color: var(--ant-primary); }
.form-check .form-check-label { font-size: 14px; color: var(--ant-text-secondary); }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--ant-text-tertiary); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--ant-border-light); }

/* ===== ALERTS ===== */
.auth-alert { padding: 10px 14px; border-radius: var(--ant-radius); margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.auth-alert-error { background: var(--ant-error-bg); border: 1px solid #ffccc7; color: var(--ant-error); }
.auth-alert-success { background: #f6ffed; border: 1px solid #b7eb8f; color: #52c41a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .auth-left { display: none; }
    .auth-right { width: 100%; min-height: 100vh; }
}
@media (max-width: 576px) {
    .auth-right { padding: 24px; }
    .auth-form-wrapper { max-width: 100%; }
    .auth-form-title { font-size: 22px; }
}
