/* Existing Symfony flash wrappers are promoted to centered toasts by stimulus_bootstrap.js. */
.toast.alert-popover {
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.toast.alert-popover .alert-popover__panel {
    position: static;
    display: block;
    width: 100%;
    max-height: min(72vh, 34rem);
    margin: 0;
    overflow: auto;
    border: 1px solid var(--ui-border-strong);
    border-left: 4px solid var(--ui-primary);
    border-radius: var(--ui-radius);
    padding: 0;
    background: #ffffff;
    color: var(--ui-ink);
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.22);
    opacity: 1;
    transform: none;
}

.toast.alert-popover .alert-popover__panel--success { border-left-color: var(--ui-success); }
.toast.alert-popover .alert-popover__panel--warning { border-left-color: var(--ui-warning); }
.toast.alert-popover .alert-popover__panel--danger { border-left-color: var(--ui-danger); }

.toast.alert-popover .alert-popover__close {
    flex: 0 0 auto;
}

.app-flashes.toast-viewport,
.admin-flashes.toast-viewport,
.site-flashes.toast-viewport {
    margin: 0;
}
