.notifications {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
    z-index: 1500;
}

.toast {
    padding: 9px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font-size: 13px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-error {
    background: rgba(214, 48, 49, 0.92);
}

.toast-out {
    opacity: 0;
    transform: translateY(-8px);
}

.loading {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 1200;
}

.loading-title {
    margin: 0;
    font-size: 15px;
}

.loading-bar {
    width: min(320px, 70vw);
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--primary);
    transition: width 0.2s ease;
}

.loading-stats {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
}
