/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.98) 0%, rgba(20, 25, 35, 0.98) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 15000;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden { opacity: 0; pointer-events: none; }

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 212, 170, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

.loading-text {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.loading-sub {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 8px;
}

/* ==================== NOTIFICATIONS ==================== */
.notification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10001;
    transition: all 0.4s ease;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
}

.notification.show { transform: translateX(-50%) translateY(0); }
.notification.success { background: linear-gradient(135deg, rgba(0, 212, 170, 0.9) 0%, rgba(0, 168, 255, 0.9) 100%); color: white; }
.notification.error   { background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 61, 87, 0.9) 100%); color: white; }
.notification.warning { background: linear-gradient(135deg, rgba(255, 159, 67, 0.9) 0%, rgba(255, 193, 61, 0.9) 100%); color: #333; }
.notification.info    { background: linear-gradient(135deg, rgba(0, 168, 255, 0.9) 0%, rgba(123, 104, 238, 0.9) 100%); color: white; }
.notification.epa     { background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%); color: white; }

@media (max-width: 480px) {
    .notification {
        left: 12px;
        right: 12px;
        transform: translateX(0) translateY(-100px);
        max-width: none;
    }
    .notification.show { transform: translateX(0) translateY(0); }
}
