/* Futzoe — Toastr (fncToastr) alineado con labels y alerts del tema */

:root {
    --futzoe-toast-font: "Inter", system-ui, sans-serif;
    --futzoe-toast-radius: 0.5rem;
}

#toast-container > div {
    font-family: var(--futzoe-toast-font);
    border-radius: var(--futzoe-toast-radius);
    box-shadow: 0 0.25rem 0.75rem rgba(var(--bs-body-color-rgb, 67, 89, 113), 0.1);
    opacity: 1;
    padding: 0.875rem 2.25rem 0.875rem 1rem;
    background-image: none !important;
    background-position: initial;
    background-repeat: no-repeat;
}

#toast-container > div .toast-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

#toast-container > div .toast-message {
    font-size: 0.8125rem;
    line-height: 1.45;
    opacity: 1;
}

#toast-container > div .toast-close-button {
    font-weight: 400;
    opacity: 0.55;
    text-shadow: none;
}

#toast-container > div .toast-close-button:hover,
#toast-container > div .toast-close-button:focus {
    opacity: 0.85;
}

#toast-container > div .toast-progress {
    opacity: 0.35;
    height: 0.2rem;
}

#toast-container > .toast-success {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-success-border-subtle);
    border-inline-start: 0.25rem solid var(--bs-success);
    background-image: none !important;
}

#toast-container > .toast-success .toast-title {
    color: var(--bs-success-text-emphasis);
}

#toast-container > .toast-success .toast-close-button {
    color: var(--bs-success-text-emphasis);
}

#toast-container > .toast-success .toast-progress {
    background-color: var(--bs-success);
}

#toast-container > .toast-error {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-danger-border-subtle);
    border-inline-start: 0.25rem solid var(--bs-danger);
    background-image: none !important;
}

#toast-container > .toast-error .toast-title {
    color: var(--bs-danger-text-emphasis);
}

#toast-container > .toast-error .toast-close-button {
    color: var(--bs-danger-text-emphasis);
}

#toast-container > .toast-error .toast-progress {
    background-color: var(--bs-danger);
}

#toast-container > .toast-warning {
    background-color: var(--bs-warning-bg-subtle);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-warning-border-subtle);
    border-inline-start: 0.25rem solid var(--bs-warning);
    background-image: none !important;
}

#toast-container > .toast-warning .toast-title {
    color: var(--bs-warning-text-emphasis);
}

#toast-container > .toast-warning .toast-close-button {
    color: var(--bs-warning-text-emphasis);
}

#toast-container > .toast-warning .toast-progress {
    background-color: var(--bs-warning);
}

#toast-container > .toast-info {
    background-color: var(--bs-info-bg-subtle);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-info-border-subtle);
    border-inline-start: 0.25rem solid var(--bs-info);
    background-image: none !important;
}

#toast-container > .toast-info .toast-title {
    color: var(--bs-info-text-emphasis);
}

#toast-container > .toast-info .toast-close-button {
    color: var(--bs-info-text-emphasis);
}

#toast-container > .toast-info .toast-progress {
    background-color: var(--bs-info);
}

@media (max-width: 575.98px) {
    #toast-container.toast-top-right,
    #toast-container.toast-top-left,
    #toast-container.toast-top-center {
        inset-inline: 0.75rem;
        width: auto;
    }

    #toast-container > div {
        width: 100%;
    }
}
