/* Cassian notification surfaces.
   Bootstrap also defines `.toast`; qualify the Toastr container so Bootstrap's
   pale surface cannot replace the semantic notification backgrounds. */
#toast-container {
    z-index: 11000;
}

#toast-container > .toast {
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-inline-start-width: 4px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48);
}

#toast-container > .toast.toast-success {
    background-color: #14532d !important;
    border-inline-start-color: #4ade80;
}

#toast-container > .toast.toast-info {
    background-color: #164e63 !important;
    border-inline-start-color: #38bdf8;
}

#toast-container > .toast.toast-warning {
    background-color: #713f12 !important;
    border-inline-start-color: #facc15;
}

#toast-container > .toast.toast-error {
    background-color: #7f1d1d !important;
    border-inline-start-color: #fb7185;
}

#toast-container .toast-title {
    color: #ffffff !important;
    font-weight: 700;
}

#toast-container .toast-message {
    color: #f8fafc !important;
    line-height: 1.45;
}

#toast-container .toast-close-button {
    color: #ffffff !important;
    opacity: 0.88;
    text-shadow: none;
}

#toast-container .toast-close-button:hover,
#toast-container .toast-close-button:focus {
    color: #ffffff !important;
    opacity: 1;
}

#toast-container .toast-progress {
    background-color: #ffffff;
    opacity: 0.35;
}

@media (max-width: 480px) {
    #toast-container > .toast {
        width: calc(100vw - 24px);
        margin-inline: 12px;
    }
}
