.flash-toast-container {
    position: fixed;
    right: 24px;
    top: 48px;
    z-index: 1080;
}

.flash-toast {
    align-items: center;
    border: 0;
    border-radius: 7px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    color: #fff;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 48px;
    min-width: 328px;
    padding: 12px 14px;
}

.flash-toast-success {
    background: #2caf87;
}

.flash-toast-danger,
.flash-toast-error {
    background: #dc3545;
}

.flash-toast-warning {
    background: #f0ad4e;
}

.flash-toast-info {
    background: #17a2b8;
}

.flash-toast-secondary {
    background: #6c757d;
}

.flash-toast__icon {
    align-items: center;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 18px;
    font-size: 10px;
    height: 18px;
    justify-content: center;
    width: 18px;
}

.flash-toast__message {
    flex: 1 1 auto;
    line-height: 1.35;
    min-width: 0;
}

.flash-toast__close {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .95);
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
}

/* Acabamento metalizado compartilhado por todas as áreas no modo escuro. */
body.theme-dark .flash-toast {
    border: 1px solid transparent !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), 0 14px 30px rgba(0, 0, 0, .28) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .32);
}

body.theme-dark .flash-toast-success {
    background: linear-gradient(135deg, #0d6b4b 0%, #1fa36d 52%, #7dd3a8 100%) !important;
    border-color: rgba(125, 211, 168, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), 0 14px 30px rgba(31, 163, 109, .28) !important;
}

body.theme-dark .flash-toast-danger,
body.theme-dark .flash-toast-error {
    background: linear-gradient(135deg, #92273a 0%, #d3475b 52%, #ff9aa8 100%) !important;
    border-color: rgba(255, 154, 168, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), 0 14px 30px rgba(211, 71, 91, .28) !important;
}

body.theme-dark .flash-toast-warning {
    background: linear-gradient(135deg, #8a5a16 0%, #ca741f 52%, #f4b56a 100%) !important;
    border-color: rgba(244, 181, 106, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), 0 14px 30px rgba(202, 116, 31, .28) !important;
}

body.theme-dark .flash-toast-info,
body.theme-dark .flash-toast-secondary {
    background: linear-gradient(135deg, #1d3f97 0%, #3b68e6 52%, #9bb7ff 100%) !important;
    border-color: rgba(147, 197, 253, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), 0 14px 30px rgba(59, 104, 230, .28) !important;
}

body.theme-dark .flash-toast__icon {
    background: rgba(255, 255, 255, .20);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 14px rgba(255, 255, 255, .24);
    color: #ffffff !important;
}

body.theme-dark .flash-toast .flash-toast__message,
body.theme-dark .flash-toast .flash-toast__close {
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .flash-toast-container {
        left: 12px;
        right: 12px;
        top: 56px;
    }

    .flash-toast {
        min-width: 0;
        width: 100%;
    }
}
