/*
 * Success toasts as a solid green plaque.
 *
 * Filament ships every toast as a white card carrying its status only in a
 * hairline ring and a small tinted icon. On the panel's own white page that
 * reads as an empty box — «Сохранено» was reported as unreadable. The previous
 * admin confirmed a save with a full green plaque, so the status colour moves
 * from the ring onto the surface.
 *
 * `--success-700` rather than the `600` the ring uses: white body text on 600
 * lands around 3.9:1 and misses AA, on 700 it clears it.
 *
 * Only `success` is restyled. `danger` and `warning` keep Filament's card,
 * which is a deliberate difference — an error should not look like a save.
 */

.fi-no-notification:not(.fi-inline).fi-status-success {
    background-color: var(--success-700);
    --tw-ring-color: var(--success-700);
}

.fi-no-notification.fi-status-success .fi-no-notification-title,
.fi-no-notification.fi-status-success .fi-no-notification-body,
.fi-no-notification.fi-status-success .fi-no-notification-date,
.fi-no-notification.fi-status-success .fi-no-notification-icon.fi-color,
.fi-no-notification.fi-status-success .fi-no-notification-close-btn {
    color: var(--color-white);
}

/* The body sits at a lower opacity against white in the stock card; on a solid
   fill that reads as washed out rather than secondary. */
.fi-no-notification.fi-status-success .fi-no-notification-body {
    opacity: 0.9;
}
