/* ===============================================
   Notifications CSS (Toasts)
   =============================================== */

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 40px);
}

.notification {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    font-size: var(--fs-sm);
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: all 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
    overflow: hidden;
}

.notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

[data-theme="dark"] .notification {
    background: #1a1a1e;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ── Left accent bar ── */
.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-info, #3b82f6);
    border-radius: 10px 0 0 10px;
}

.notification-success::before { background: #16a34a; }
.notification-error::before   { background: #dc2626; }
.notification-warning::before { background: #d97706; }

/* ── Mobile ── */
@media (max-width: 480px) {
    #notification-container {
        top: auto;
        bottom: 16px;
        right: 12px;
        left: 12px;
        max-width: none;
        width: auto;
    }

    .notification {
        min-width: 0;
        padding: 12px 14px;
    }
}

/* ===============================================
   Loading Skeletons
   =============================================== */
.skeleton-loader {
    background: linear-gradient(90deg, var(--bg-hover) 25%, var(--bg-input) 50%, var(--bg-hover) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
    height: 20px;
    width: 100%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}