:root {
    --primary: #1a56db;
    --primary-dark: #1648c0;
    --primary-light: #e8f0fe;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --dark: #111827;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --border: #e5e7eb;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }

.auth-wrapper { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }

.auth-container { width: 100%; max-width: 460px; }

.auth-header { text-align: center; margin-bottom: 32px; }

.auth-logo { width: 72px; height: 72px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 8px 32px rgba(255,255,255,0.2); }

.auth-logo i { font-size: 36px; color: var(--primary); }

.auth-title { color: white; font-size: 24px; font-weight: 700; margin-bottom: 4px; }

.auth-subtitle { color: rgba(255,255,255,0.85); font-size: 14px; }

.auth-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }

.auth-card-header { text-align: center; margin-bottom: 24px; }

.auth-card-header h2 { font-size: 22px; color: var(--dark); margin-bottom: 4px; }

.auth-card-header p { color: var(--gray); font-size: 14px; }

.form-group { margin-bottom: 16px; }

.form-label { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; display: block; }

.input-group { border-radius: 10px; overflow: hidden; border: 2px solid var(--border); transition: border-color 0.2s; }

.input-group:focus-within { border-color: var(--primary); }

.input-group-text { background: var(--light-gray); border: none; color: var(--gray); padding: 10px 14px; }

.form-control { border: none; padding: 10px 14px; font-size: 15px; }

.form-control:focus { box-shadow: none; }

.toggle-password { cursor: pointer; background: transparent !important; }

.auth-btn { width: 100%; padding: 12px; font-size: 16px; font-weight: 600; border-radius: 10px; background: var(--primary); border: none; transition: all 0.2s; }

.auth-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.auth-link { color: var(--primary); text-decoration: none; font-size: 14px; }

.auth-link:hover { text-decoration: underline; }

.auth-card-footer { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

.auth-card-footer p { color: var(--gray); font-size: 14px; }

.form-check-label { font-size: 14px; color: var(--gray); }

.form-text { font-size: 12px; color: var(--gray); margin-top: 4px; }

.auth-footer { text-align: center; margin-top: 24px; color: rgba(255,255,255,0.7); font-size: 13px; }

.alert { border-radius: 10px; border: none; font-size: 14px; margin-bottom: 16px; }

#otpTimer { font-family: monospace; font-size: 14px; font-weight: 600; color: var(--primary); min-width: 56px; text-align: center; }

#sendOtpBtn { border-radius: 10px; font-size: 14px; padding: 10px; transition: all 0.2s; }

#sendOtpBtn:disabled { opacity: 0.65; }

.toggle-password { white-space: nowrap; gap: 4px; }
.toggle-password-text { font-size: 12px; }

#otpSection { animation: fadeSlideIn 0.35s ease; }

@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 480px) {
    .auth-card { padding: 24px; }
    .auth-title { font-size: 20px; }
}
