
.toast {
    box-shadow: none;
    max-width: none;
    background-color: white !important; /* Mantiene el fondo sólido */
    opacity: 1 !important; /* Asegura que no sea transparente */
    border: none !important;
    font-size: 16px;
}

.toast.show {
    opacity: 1 !important;
}

.toast.fade {
    opacity: 1 !important; /* Evita que la animación haga el toast transparente */
}

#toast-container>div{
    padding: 0 !important;
}

.toast:hover {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.toast-success:hover .notification-progress-bar {
    background-color: #37533F !important;
}
.toast-info:hover .notification-progress-bar {
    background-color: #1E325C !important;
}
.toast-warning:hover .notification-progress-bar {
    background-color: #6D5B24 !important;
}

.toast-close {
    padding: 2px;
    float: right;
    /* font-size: 12px; */
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    /* opacity: .5; */
}

.toast-close:focus {
    padding: 2px;
    border-radius: 2px;
    /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25); */
    /* color: #37533F; */
    outline: none;
}

button.toast-close {
    /* padding: 0; */
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.toast-success {
    border: 1px solid #37A857;
    /* border-bottom: none; */
    /* border-radius: 4px; */
}

.toast-info {
    border: 1px solid #375BA8;
    /* border-bottom: none; */
    /* border-radius: 4px; */
}

.toast-warning {
    border: 1px solid #C29100;
    /* border-bottom: none; */
    /* border-radius: 4px; */
}

.toast-header {
    padding: 20px 20px 4px 20px;
    border-bottom: none;
}


.toast-body {
    padding: 0px 20px 20px 20px;
    /* margin-bottom: 4px; */
    color: var(--akaya-negro) !important;
}


/* Success */

.success {
    color: #37A857;
    background-color: #EAFFF0;
    /* --grid-color: rgba(16, 185, 129, 0.25); */

}

.toast-close.success:hover {
    color: #37533F !important;
}

.toast-close.success:focus {
    color:  #37A857 !important;
}

.success .notification-progress-bar {
    background-color: #37A857;

}


/* Info */

.info {
    color: #375BA8;
    background-color: #E4EDFF;
    /* --grid-color: rgba(59, 131, 246, 0.25); */
}
.toast-close.info {
    color: #375BA8 !important;
}

.toast-close.info:hover {
    color: #1E325C !important;
}
.toast-close.info:focus {
    color: #375BA8 !important;
}

.info .notification-progress-bar {
    background-color: #375BA8;
}


/* Warning */

.warning {
    color: #C29100;
    background-color: #FFFBEA;
}

.toast-close.warning{
    color: #C29100 !important
}

.toast-close.warning:hover {
    color: #6D5B24 !important
}
.toast-close.warning:focus {
    color: #C29100 !important
}

.warning .notification-progress-bar {
    background-color: #C29100;
}

.warning:hover {
    /* background-color: #ffde59; */
}

/* Error */

.error {
    color: #7f1d1d;
    background-color: #ff7e7e;
    --grid-color: rgba(239, 68, 68, 0.25);
    background-image: linear-gradient(0deg,
            transparent 23%,
            var(--grid-color) 24%,
            var(--grid-color) 25%,
            transparent 26%,
            transparent 73%,
            var(--grid-color) 74%,
            var(--grid-color) 75%,
            transparent 76%,
            transparent),
        linear-gradient(90deg,
            transparent 23%,
            var(--grid-color) 24%,
            var(--grid-color) 25%,
            transparent 26%,
            transparent 73%,
            var(--grid-color) 74%,
            var(--grid-color) 75%,
            transparent 76%,
            transparent);
}

.error svg {
    color: #7f1d1d;
}

.error .notification-progress-bar {
    background-color: #7f1d1d;
}

.error:hover {
    background-color: #ff5f5f;
}


/* Notification progress bar */
.notification-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--content-color);
    width: 100%;
    transform: translateX(-100%) skewX(150deg);
    /* Inicialmente oculta a la izquierda con inclinación */

    /* Se elimina 'infinite' para ejecutar solo una vez */
    animation: progressBar 10s linear forwards infinite;
}

/* progressBar Animation */
@keyframes progressBar {
    0% {
        transform: translateX(-100%) skewX(150deg);
        /* Inicia desde la izquierda inclinada */
    }

    100% {
        transform: translateX(0) skewX(150deg);
        /* Llega al final manteniendo la inclinación */
    }
}