
/* ── Mobile Stability & Anti-Zoom Fixes ──────────────────────────────────── */
@media (max-width: 768px) {
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

.auth-body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    padding-bottom: 0;
}
.auth-page {
    display: flex;
    min-height: 100vh;
}
.auth-brand-panel {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background: linear-gradient(160deg, var(--bg-secondary) 0%, #0d1420 100%);
    border-right: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    width: 420px;
    flex-shrink: 0;
}
.auth-brand-glow {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
    top: -100px; left: -100px;
    pointer-events: none;
}
.auth-brand-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
    z-index: 1;
}
.auth-brand-logo img { height: 36px; object-fit: contain; }
.auth-brand-logo span { font-size: 22px; font-weight: 800; color: var(--accent-blue); }
.auth-brand-title {
    font-size: 36px; font-weight: 800;
    color: var(--text-primary); line-height: 1.2;
    margin-bottom: 16px;
}
.auth-brand-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 32px; }
.auth-brand-stats { display: flex; gap: 28px; }
.auth-stat-val { font-size: 22px; font-weight: 800; color: var(--accent-blue); }
.auth-stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
    background: var(--bg-primary);
}
.auth-mobile-logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
    margin-bottom: 28px;
    align-self: flex-start;
}
.auth-mobile-logo img { height: 30px; object-fit: contain; }
.auth-mobile-logo span { font-size: 18px; font-weight: 800; color: var(--accent-blue); }
.auth-steps {
    display: flex; align-items: center; gap: 0;
    margin-bottom: 28px; width: 100%; max-width: 440px;
}
.auth-step {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    flex: 1;
}
.auth-step-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--text-secondary);
    transition: all 0.3s;
}
.auth-step.active .auth-step-num {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--bg-primary);
}
.auth-step.done .auth-step-num {
    background: var(--positive);
    border-color: var(--positive);
    color: #fff;
}
.auth-step-label { font-size: 10px; color: var(--text-secondary); text-align: center; }
.auth-step.active .auth-step-label { color: var(--accent-blue); font-weight: 600; }
.auth-step-line { flex: 1; height: 2px; background: var(--border-color); margin: -16px 0 0; }
.auth-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    width: 100%; max-width: 440px;
}
.auth-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
}
.auth-title { font-size: 22px; font-weight: 800; color: var(--text-primary); margin: 0; }
.auth-switch-text { font-size: 13px; color: var(--text-secondary); }
.auth-switch-btn {
    background: none; border: none; color: var(--accent-blue);
    font-size: 13px; font-weight: 600; cursor: pointer;
    padding: 0; transition: opacity 0.2s;
}
.auth-switch-btn:hover { opacity: 0.75; }
.auth-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.auth-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.4px; }
.auth-input-wrap {
    display: flex; align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.auth-input-wrap:focus-within { border-color: var(--accent-blue); }
.auth-input-icon { flex-shrink: 0; margin: 0 12px; color: var(--text-secondary); }
.auth-input {
    flex: 1; background: transparent; border: none; outline: none;
    color: var(--text-primary); font-size: 14px; padding: 13px 0 13px 0;
}
.auth-input::placeholder { color: var(--text-secondary); }
.auth-eye-btn {
    background: none; border: none; color: var(--text-secondary);
    padding: 0 12px; cursor: pointer; display: flex; align-items: center;
    transition: color 0.2s;
}
.auth-eye-btn:hover { color: var(--text-primary); }
.auth-pass-strength { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pass-strength-bar {
    flex: 1; height: 4px; background: var(--bg-tertiary); border-radius: 2px; overflow: hidden;
}
.pass-strength-fill { height: 100%; border-radius: 2px; transition: all 0.3s; }
.pass-strength-label { font-size: 11px; font-weight: 600; white-space: nowrap; }
.auth-checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    cursor: pointer; font-size: 13px; color: var(--text-secondary);
    margin-bottom: 16px; user-select: none;
}
.auth-checkbox-label input { display: none; }
.auth-checkbox-custom {
    width: 18px; height: 18px; min-width: 18px;
    border: 2px solid var(--border-color); border-radius: 4px;
    background: var(--bg-tertiary); margin-top: 1px;
    transition: all 0.2s; position: relative;
}
.auth-checkbox-label input:checked + .auth-checkbox-custom {
    background: var(--accent-blue); border-color: var(--accent-blue);
}
.auth-checkbox-label input:checked + .auth-checkbox-custom::after {
    content: ''; position: absolute; left: 4px; top: 1px;
    width: 6px; height: 10px; border: 2px solid #fff;
    border-top: none; border-left: none; transform: rotate(45deg);
}
.auth-link { color: var(--accent-blue); text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-submit-btn {
    width: 100%; padding: 14px; margin-bottom: 20px;
    background: var(--accent-blue); color: var(--bg-primary);
    border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.auth-submit-btn:hover { background: var(--accent-blue-hover); }
.auth-submit-btn:active { transform: scale(0.98); }
.auth-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-divider {
    display: flex; align-items: center; gap: 12px;
    color: var(--text-secondary); font-size: 12px; margin-bottom: 16px;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border-color);
}
.auth-social-row { display: flex; gap: 10px; }
.auth-social-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px; background: var(--bg-tertiary);
    border: 1px solid var(--border-color); border-radius: 10px;
    color: var(--text-primary); font-size: 13px; font-weight: 500; cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.auth-social-btn:hover { border-color: var(--accent-blue); background: rgba(0,212,255,0.06); }
.auth-error {
    font-size: 12px; color: var(--negative);
    min-height: 16px; margin-bottom: 8px;
}
@media (min-width: 900px) {
    .auth-brand-panel { display: flex; }
    .auth-mobile-logo { display: none; }
}
.kyc-page {
    display: flex; flex-direction: column;
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
}
.kyc-header {
    display: flex; align-items: center;
    padding: 14px 20px; gap: 14px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 50;
}
.kyc-back-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-tertiary); border: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary); cursor: pointer; text-decoration: none;
    transition: background 0.2s;
}
.kyc-back-btn:hover { background: var(--border-color); }
.kyc-header-center { flex: 1; }
.kyc-header-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.kyc-step-pill {
    background: rgba(14, 203, 129, 0.12); border: 1px solid rgba(14, 203, 129, 0.3);
    border-radius: 20px; padding: 5px 14px; font-size: 13px; color: #0ecb81; font-weight: 600;
}
.kyc-step-wrap {
    flex: 1; display: flex; align-items: flex-start; justify-content: center;
    padding: 24px 16px 40px;
}
.kyc-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 24px;
    width: 100%; max-width: 480px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.kyc-card-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.kyc-card-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.kyc-intro-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(14, 203, 129, 0.1); border: 2px solid rgba(14, 203, 129, 0.3);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: #0ecb81;
}
.kyc-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.kyc-check-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--text-secondary);
}
.kyc-primary-btn {
    width: 100%; padding: 14px; margin-top: 20px;
    background: linear-gradient(135deg, #02c076 0%, #0ecb81 100%);
    color: #000; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 800; cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 203, 129, 0.25);
    transition: all 0.2s;
}
.kyc-primary-btn:hover {
    background: linear-gradient(135deg, #0ecb81 0%, #00e676 100%);
    box-shadow: 0 6px 24px rgba(14, 203, 129, 0.4);
}
.kyc-primary-btn:active { transform: scale(0.98); }
.kyc-ghost-btn {
    width: 100%; padding: 12px; margin-top: 10px;
    background: transparent; color: var(--text-secondary);
    border: 1px solid var(--border-color); border-radius: 10px;
    font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.kyc-ghost-btn:hover { border-color: #0ecb81; color: #0ecb81; background: rgba(14, 203, 129, 0.05); }
.kyc-form-group { margin-bottom: 20px; }
.kyc-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; display: block; }
.kyc-select-wrap { position: relative; }
.kyc-select {
    width: 100%; padding: 13px 40px 13px 14px;
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: 10px; color: var(--text-primary); font-size: 14px;
    outline: none; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b7bdc6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    transition: border-color 0.2s;
}
.kyc-select:focus { border-color: #0ecb81; }
.kyc-doc-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
    margin-top: 10px;
}
.kyc-doc-card {
    position: relative; padding: 18px 14px;
    background: var(--bg-tertiary); border: 2px solid var(--border-color);
    border-radius: 12px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--text-primary);
    transition: all 0.2s;
}
.kyc-doc-card:hover { border-color: #0ecb81; background: rgba(14, 203, 129, 0.05); }
.kyc-doc-card.selected {
    border-color: #0ecb81; background: rgba(14, 203, 129, 0.12);
    color: #0ecb81; box-shadow: 0 0 16px rgba(14, 203, 129, 0.15);
}
.kyc-recommended-tag {
    position: absolute; top: -1px; right: -1px;
    background: linear-gradient(135deg, #02c076 0%, #0ecb81 100%);
    color: #000; font-size: 9px; font-weight: 800; padding: 3px 8px;
    border-radius: 0 10px 0 8px; text-transform: uppercase; letter-spacing: 0.3px;
}
.kyc-tips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.kyc-tip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-secondary); }
.kyc-tip.bad { color: var(--text-secondary); }
.kyc-camera-card { padding: 20px; }
.kyc-cam-area { width: 100%; margin-bottom: 12px; }
.kyc-cam-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kyc-cam-preview {
    width: 100%; aspect-ratio: 16/9; max-height: 220px;
    background: #000; border-radius: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    position: relative; border: 1px solid var(--border-color);
}
.kyc-cam-frame {
    position: absolute; inset: 12px;
    display: flex; align-items: center; justify-content: center;
}
.kyc-cam-frame-corner {
    position: absolute; width: 20px; height: 20px;
    border-color: var(--negative); border-style: solid; border-width: 0;
}
.kyc-cam-frame-corner.tl { top:0;left:0; border-top-width: 3px; border-left-width: 3px; border-radius: 4px 0 0 0; }
.kyc-cam-frame-corner.tr { top:0;right:0; border-top-width: 3px; border-right-width: 3px; border-radius: 0 4px 0 0; }
.kyc-cam-frame-corner.bl { bottom:0;left:0; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 4px; }
.kyc-cam-frame-corner.br { bottom:0;right:0; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 4px 0; }
.kyc-cam-frame-corner.ready { border-color: #0ecb81; }
.kyc-cam-placeholder-icon { z-index: 1; }
.kyc-cam-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.kyc-cam-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 28px; padding: 12px 0;
}
.kyc-cam-ctrl-btn {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); cursor: pointer; transition: all 0.2s;
}
.kyc-cam-ctrl-btn:hover { border-color: #0ecb81; color: #0ecb81; }
.kyc-cam-shutter {
    width: 64px; height: 64px; border-radius: 50%;
    background: transparent; border: 3px solid #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.1s;
}
.kyc-cam-shutter:active { transform: scale(0.9); }
.kyc-shutter-inner {
    width: 50px; height: 50px; border-radius: 50%;
    background: #fff; transition: background 0.1s;
}
.kyc-cam-shutter:active .kyc-shutter-inner { background: #0ecb81; }
.kyc-face-area {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    margin: 8px 0 20px;
}
.kyc-face-oval-wrap {
    position: relative;
    width: 200px; height: 240px;
}
.kyc-face-oval {
    width: 200px; height: 240px; border-radius: 50%;
    overflow: hidden; position: relative;
    background: #000; border: 2px solid rgba(14, 203, 129, 0.3);
}
.kyc-oval-border {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 2;
}
.kyc-liveness-arrows {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; position: absolute; bottom: -40px; left: 50%;
    transform: translateX(-50%); width: 200px;
}
.kyc-liveness-arrow {
    font-size: 28px; font-weight: 900; color: #0ecb81;
    opacity: 0; transition: opacity 0.3s, transform 0.3s;
    line-height: 1;
}
.kyc-liveness-arrow.active { opacity: 1; }
.kyc-liveness-arrow.left.active { transform: translateX(-4px); }
.kyc-liveness-arrow.right.active { transform: translateX(4px); }
.kyc-liveness-arrow.up.active { transform: translateY(-4px); }
.kyc-liveness-dots {
    display: flex; gap: 10px; margin-top: 48px;
}
.kyc-liveness-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg-tertiary); border: 2px solid var(--border-color);
    transition: all 0.3s;
}
.kyc-liveness-dot.done {
    background: #0ecb81; border-color: #0ecb81;
}
.kyc-liveness-dot.active {
    background: #0ecb81; border-color: #0ecb81;
    box-shadow: 0 0 10px rgba(14, 203, 129, 0.5);
}
.kyc-liveness-status {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: 10px; padding: 12px 16px; width: 100%;
    font-size: 13px; font-weight: 600; color: var(--text-primary);
}
.kyc-liveness-icon { display: flex; align-items: center; }
.kyc-processing-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 60px 24px;
}
.kyc-processing-spinner {
    width: 80px; height: 80px; margin-bottom: 24px;
}
.kyc-spin-ring {
    animation: kycSpin 1.4s linear infinite;
}
@keyframes kycSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.kyc-success-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 40px 24px;
}
.kyc-success-burst {
    position: relative; width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
}
.kyc-success-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: #0ecb81; border: 4px solid rgba(14,203,129,0.3);
    display: flex; align-items: center; justify-content: center;
    animation: popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    z-index: 1; color: #000;
}
@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.kyc-burst-particle {
    position: absolute; width: 8px; height: 8px; border-radius: 50%;
    animation: burst 0.8s ease-out forwards;
}
.kyc-burst-particle.p1 { background: #0ecb81; top: 10px; left: 20px; animation-delay: 0.1s; }
.kyc-burst-particle.p2 { background: #00f2fe; top: 10px; right: 20px; animation-delay: 0.15s; }
.kyc-burst-particle.p3 { background: #f59e0b; bottom: 10px; left: 15px; animation-delay: 0.2s; }
.kyc-burst-particle.p4 { background: var(--negative); bottom: 10px; right: 15px; animation-delay: 0.1s; }
.kyc-burst-particle.p5 { background: #0ecb81; top: 50%; left: 5px; animation-delay: 0.25s; }
.kyc-burst-particle.p6 { background: #00f2fe; top: 50%; right: 5px; animation-delay: 0.18s; }
@keyframes burst {
    from { transform: scale(0) translateY(0); opacity: 1; }
    to   { transform: scale(1.5) translateY(-20px); opacity: 0; }
}
.kyc-pending-badge {
    display: flex; align-items: center; gap: 6px;
    background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
    color: #f59e0b; border-radius: 20px; padding: 6px 16px;
    font-size: 12px; font-weight: 600; margin: 8px 0 0;
}
.kyc-verify-banner {
    background: linear-gradient(135deg, rgba(14,203,129,0.08), rgba(14,203,129,0.04));
    border: 1px solid rgba(14,203,129,0.25);
    border-radius: 8px; padding: 8px 16px;
    display: flex; align-items: center; gap: 12px;
    margin: 0 16px 12px;
}
.kyc-banner-icon {
    width: 28px; height: 28px; border-radius: 6px;
    background: rgba(14,203,129,0.12); border: 1px solid rgba(14,203,129,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: #0ecb81;
}
.kyc-banner-icon svg {
    width: 14px; height: 14px;
}
.kyc-banner-text { flex: 1; display: flex; flex-direction: column; }
.kyc-banner-title { font-size: 12px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.kyc-banner-sub { font-size: 11px; color: var(--text-secondary); margin-top: 1px; line-height: 1.3; }
.kyc-banner-btn {
    background: linear-gradient(135deg, #02c076 0%, #0ecb81 100%);
    color: #000; border: none; border-radius: 6px; padding: 6px 12px;
    font-size: 11px; font-weight: 800; cursor: pointer;
    white-space: nowrap; transition: background 0.2s;
    flex-shrink: 0;
}
.kyc-banner-btn:hover { background: linear-gradient(135deg, #0ecb81 0%, #00e676 100%); }
.header-auth-btns {
    display: flex; align-items: center; gap: 8px;
}
.btn-login {
    background: transparent; border: 1px solid var(--border-color);
    color: var(--text-primary); padding: 8px 16px; border-radius: 6px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; text-decoration: none;
    display: flex; align-items: center; min-height: 36px;
}
.btn-login:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.btn-signup {
    background: var(--accent-blue); border: none;
    color: var(--bg-primary); padding: 8px 16px; border-radius: 6px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background 0.2s; text-decoration: none;
    display: flex; align-items: center; min-height: 36px;
}
.btn-signup:hover { background: var(--accent-blue-hover); }
.header-user-chip {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: 8px; padding: 6px 12px; cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none; color: var(--text-primary);
}
.header-user-chip:hover { border-color: var(--accent-blue); }
.header-user-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent-blue); color: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.header-user-name {
    font-size: 12px; font-weight: 600;
    max-width: 80px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.header-kyc-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #f59e0b; flex-shrink: 0;
}
.header-kyc-dot.verified { background: var(--positive); }
.header-right { position: relative; }
.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
}
.notification-dropdown.active { display: flex; }
.notif-header {
    padding: 12px 16px;
    font-size: 14px; font-weight: 600; color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item {
    display: flex; gap: 12px; padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer; transition: background 0.2s;
}
.notif-item:hover { background: rgba(255,255,255,0.03); }
.notif-item:last-child { border-bottom: none; }
.notif-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.15);
    display: flex; align-items: center; justify-content: center; color: var(--accent-blue);
    flex-shrink: 0;
}
.notif-content { flex: 1; }
.notif-title { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.notif-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }
.notif-dot-badge {
    position: absolute; top: 4px; right: 6px;
    width: 8px; height: 8px; background: #ef5350;
    border-radius: 50%; box-shadow: 0 0 0 2px var(--bg-primary);
}
.icon-btn.has-notif { position: relative; }
.anim-ring svg { animation: ringBell 2s ease infinite; transform-origin: top center; }
@keyframes ringBell {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(2deg); }
    60% { transform: rotate(0); }
    100% { transform: rotate(0); }
}
@media (max-width: 767px) {
    .notification-dropdown {
        position: fixed; top: auto; bottom: 80px; right: 16px; left: 16px;
        width: auto; max-width: none;
    }
}
