/* ===== MODERN DARK CRYPTO AUTH - LOGIN ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --auth-bg: #0a0e17;
    --auth-card: #111827;
    --auth-input: rgba(255,255,255,0.04);
    --auth-border: rgba(255,255,255,0.08);
    --auth-accent: #3b82f6;
    --auth-accent-glow: rgba(59,130,246,0.25);
    --auth-purple: #8b5cf6;
    --auth-green: #10b981;
    --auth-text: #f1f5f9;
    --auth-text-muted: #94a3b8;
    --auth-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

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

/* Override frontend_style_blue.css variables */
body.auth-page {
    --color-white: #0a0e17 !important;
    --color-primary: #0a0e17 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    background: #0a0e17 !important;
    background-color: #0a0e17 !important;
    color: #f1f5f9 !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.auth-container { display: flex; min-height: 100vh; width: 100%; background: #0a0e17 !important; }

.auth-left {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 40px 20px; background: #0a0e17 !important; position: relative; overflow-y: auto;
}
.auth-left::before {
    content: ''; position: absolute; top: -30%; left: -20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%); pointer-events: none;
}

.login-form-container { width: 100%; max-width: 420px; position: relative; z-index: 2; }

.login-card {
    background: #111827 !important; border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 20px; padding: 40px 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo { max-height: 48px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }

.login-title { font-size: 24px; font-weight: 800; color: #f1f5f9 !important; margin-bottom: 6px; letter-spacing: -0.3px; }
.login-subtitle { font-size: 14px; color: #94a3b8 !important; margin: 0; }

.form-label { font-size: 13px; font-weight: 600; color: #94a3b8 !important; margin-bottom: 6px; display: block; }

.input-wrapper { position: relative; }

.form-input, .form-control.form-input {
    width: 100%; padding: 12px 16px 12px 44px;
    background: rgba(255,255,255,0.04) !important; border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px; color: #f1f5f9 !important; font-size: 14px;
    font-family: 'Inter', sans-serif; transition: all 0.25s ease; outline: none;
}
.form-input:focus, .form-control.form-input:focus {
    border-color: #3b82f6 !important; box-shadow: 0 0 0 3px rgba(59,130,246,0.25) !important;
    background: rgba(255,255,255,0.06) !important;
}
.form-input::placeholder { color: #475569 !important; }

.input-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 16px; opacity: 0.6; pointer-events: none;
}

.login-button {
    width: 100%; padding: 14px; background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important; color: #fff !important;
    border: none !important; border-radius: 12px; font-size: 15px; font-weight: 700;
    font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59,130,246,0.25); letter-spacing: 0.02em;
}
.login-button:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.25); }
.login-button:active { transform: translateY(0); }

.form-links { text-align: center; margin-top: 24px; }
.form-link-text { font-size: 13px; color: #94a3b8 !important; margin-bottom: 8px; }
.form-link { color: #3b82f6 !important; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.form-link:hover { color: #8b5cf6 !important; text-decoration: none; }

.copyright-section { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08) !important; }
.copyright-text { font-size: 12px; color: #475569 !important; }

.auth-right {
    flex: 1; position: relative; background-size: cover; background-position: center;
    display: flex; align-items: flex-end; justify-content: center; padding: 60px 40px;
}
.auth-right::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,14,23,0.95) 0%, rgba(10,14,23,0.4) 40%, rgba(10,14,23,0.2) 100%);
}

.auth-content { position: relative; z-index: 2; text-align: center; max-width: 400px; }
.auth-content-title { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.5px; }
.auth-content-text { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; }

.alert-custom, .alert-custom-success {
    background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5; border-radius: 12px; font-size: 13px; padding: 12px 16px;
}
.alert-custom-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #6ee7b7; }
.alert-custom .close, .alert-custom-success .close { color: inherit; opacity: 0.7; text-shadow: none; }
.alert-custom ul { margin: 0; padding-left: 16px; }

@media (max-width: 991px) {
    .auth-right { display: none; }
    .auth-left { padding: 30px 16px; }
    .login-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
    .login-card { padding: 28px 20px; border-radius: 16px; }
    .login-title { font-size: 20px; }
}
}