/* NOTIFICATION CENTER */
#notification-center {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 350px;
    z-index: 9999;
}

#notification-center, #toast-center, #poller-target {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-card {
    margin: 0;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--pico-secondary-border);
    background: var(--pico-secondary-background);
}

.notification-card header {
    --pico-block-spacing-horizontal: 0;
    --pico-block-spacing-vertical: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--pico-muted-border-color);
    font-size: 0.85rem;
    background: none;
}

.notification-card .close-btn {
    background: transparent;
    border: none;
    color: var(--pico-secondary-color);
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.notification-card .close-btn:hover { color: var(--pico-color); }

.notification-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.notification-card p.progress {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.notification-card progress {
    margin-top: 0.5rem;
    margin-bottom: 0;
    height: 6px;
    flex: 1;
}

.notification-card .action {
    text-align: right;
}

.notification-card.alert-debug {
    border-left: 4px solid #8e44ad;
}
.notification-card.alert-success {
    border-left: 4px solid #27ae60;
}
.notification-card.alert-info {
    border-left: 4px solid #2980b9;
}
.notification-card.alert-warning {
    border-left: 4px solid #f39c12;
}
.notification-card.alert-error {
    border-left: 4px solid #c0392b;
}