/* ===== PACE Flash (scoped to this element) ===== */
.pace-flash-toast {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1060;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 280px;
    max-width: min(92vw, 520px);
    padding: .85rem 1rem;
    border-radius: .75rem;
    background: #C02E00;
    color: #0A0A0A;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .24s ease-out, transform .24s ease-out;
    font-weight: 600;
    letter-spacing: .15px;
}

.pace-flash-toast.success {
    background: #006B3C; /* sage green */
    color: #dbdbdb;
}

.pace-flash-toast.error,
.pace-flash-toast.warning {
    background: #C02E00; /* red */
}

.pace-flash-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.pace-flash-close {
    margin-left: auto;
    appearance: none;
    border: 0;
    background: rgba(10, 10, 10, .06);
    color: #0A0A0A;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease, transform .15s ease, opacity .15s ease;
}

.pace-flash-close:hover {
    background: rgba(10, 10, 10, .12);
    transform: scale(1.04);
}

.pace-flash-toast.hiding {
    opacity: 0;
    transform: translateY(-12px);
}