.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    box-shadow: 0 0 30px var(--accent-glow);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.no-access-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.no-access-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.no-access-icon {
    font-size: 60px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

.no-access-card h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.no-access-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.nav-badge {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    border-radius: 12px;
    margin-left: 8px;
    box-shadow: 0 0 15px var(--accent-glow);
    vertical-align: middle;
}

@media (max-width: 768px) {
    .nav-badge { font-size: 8px; padding: 2px 6px; margin-left: 4px; }
    .no-access-card { padding: 30px 20px; }
    .no-access-icon { font-size: 48px; }
    .no-access-card h1 { font-size: 22px; }
}