/*
|--------------------------------------------------------------------------
| Toastr — FINESA
|--------------------------------------------------------------------------
| Tema salvia claro.
| Compatible con toastr.js clásico.
|--------------------------------------------------------------------------
*/

/* ==========================================================================
   Contenido general
   ========================================================================== */

.toast-title {
    color: inherit;
    font-size: 0.90rem;
    font-weight: 800;
    line-height: 1.25;
}

.toast-message {
    -ms-word-wrap: break-word;
    color: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.toast-message a,
.toast-message label {
    color: inherit;
    font-weight: 800;
}

.toast-message a:hover {
    color: inherit;
    opacity: 0.78;
    text-decoration: underline;
}

/* ==========================================================================
   Botón de cerrar
   ========================================================================== */

.toast-close-button {
    position: relative;
    top: -0.22em;
    right: -0.25em;
    float: right;
    margin-left: 9px;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    opacity: 0.72;
    text-shadow: none;
    transition:
        color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}

.toast-close-button:hover,
.toast-close-button:focus {
    color: inherit;
    cursor: pointer;
    opacity: 1;
    outline: none;
    text-decoration: none;
    transform: rotate(90deg);
}

.rtl .toast-close-button {
    right: auto;
    left: -0.25em;
    float: left;
    margin-right: 9px;
    margin-left: 0;
}

button.toast-close-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
}

/* ==========================================================================
   Posiciones
   ========================================================================== */

.toast-top-center {
    top: 14px;
    right: 0;
    width: 100%;
}

.toast-bottom-center {
    right: 0;
    bottom: 14px;
    width: 100%;
}

.toast-top-full-width {
    top: 14px;
    right: 0;
    width: 100%;
}

.toast-bottom-full-width {
    right: 0;
    bottom: 14px;
    width: 100%;
}

.toast-top-left {
    top: 14px;
    left: 14px;
}

.toast-top-right {
    top: 14px;
    right: 14px;
}

.toast-bottom-right {
    right: 14px;
    bottom: 14px;
}

.toast-bottom-left {
    bottom: 14px;
    left: 14px;
}

/* ==========================================================================
   Contenedor
   ========================================================================== */

#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

#toast-container * {
    box-sizing: border-box;
}

#toast-container > div {
    position: relative;
    width: min(380px, calc(100vw - 28px));
    margin: 0 0 10px;
    padding: 15px 42px 15px 54px;
    overflow: hidden;
    border: 1px solid #d4e1d1;
    border-radius: 12px;
    background-position: 17px center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
    box-shadow: 0 10px 24px rgba(31, 56, 38, 0.17);
    pointer-events: auto;
    opacity: 1;
    transition:
        box-shadow .18s ease,
        transform .18s ease;
}

#toast-container > div.rtl {
    padding: 15px 54px 15px 42px;
    background-position: right 17px center;
}

#toast-container > div:hover {
    box-shadow: 0 14px 28px rgba(31, 56, 38, 0.22);
    cursor: pointer;
    transform: translateY(-2px);
}

/* ==========================================================================
   Toast de éxito
   ========================================================================== */

#toast-container > .toast-success {
    border-color: #bad6b4;
    color: #245337;
    background-color: #eef8ea;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23426d4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-success .toast-title {
    color: #294b38;
}

#toast-container > .toast-success .toast-message {
    color: #456051;
}

/* ==========================================================================
   Toast informativo
   ========================================================================== */

#toast-container > .toast-info {
    border-color: #bad8e3;
    color: #24586a;
    background-color: #eaf6f8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8a99' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-info .toast-title {
    color: #2f6d7e;
}

#toast-container > .toast-info .toast-message {
    color: #456a73;
}

/* ==========================================================================
   Toast de advertencia
   ========================================================================== */

#toast-container > .toast-warning {
    border-color: #ecd69e;
    color: #6f5115;
    background-color: #fff8e6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97a28' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.6 2.3 17.4A2 2 0 0 0 4 20.4h16a2 2 0 0 0 1.7-3L13.7 3.6a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 16.5h.01'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-warning .toast-title {
    color: #7e5b1e;
}

#toast-container > .toast-warning .toast-message {
    color: #836a31;
}

/* ==========================================================================
   Toast de error
   ========================================================================== */

#toast-container > .toast-error {
    border-color: #edbdb7;
    color: #7f342f;
    background-color: #fff1ef;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b94a43' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-error .toast-title {
    color: #7f342f;
}

#toast-container > .toast-error .toast-message {
    color: #85453e;
}

/* ==========================================================================
   Barra de progreso
   ========================================================================== */

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 0 0 0 12px;
    opacity: 0.58;
}

#toast-container > .toast-success .toast-progress {
    background-color: #426d4f;
}

#toast-container > .toast-info .toast-progress {
    background-color: #4f8a99;
}

#toast-container > .toast-warning .toast-progress {
    background-color: #a97a28;
}

#toast-container > .toast-error .toast-progress {
    background-color: #b94a43;
}

/* ==========================================================================
   Centrado y ancho completo
   ========================================================================== */

#toast-container.toast-top-center > div,
#toast-container.toast-bottom-center > div {
    width: min(420px, calc(100vw - 28px));
    margin-right: auto;
    margin-left: auto;
}

#toast-container.toast-top-full-width > div,
#toast-container.toast-bottom-full-width > div {
    width: min(920px, calc(100vw - 28px));
    margin-right: auto;
    margin-left: auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 480px) {
    .toast-top-left,
    .toast-top-right,
    .toast-bottom-right,
    .toast-bottom-left {
        right: 10px;
        left: 10px;
    }

    #toast-container > div {
        width: 100%;
        min-height: 0;
        padding: 13px 38px 13px 49px;
        border-radius: 11px;
        background-position: 15px center;
        background-size: 20px 20px;
    }

    #toast-container > div.rtl {
        padding: 13px 49px 13px 38px;
        background-position: right 15px center;
    }

    .toast-title {
        font-size: 0.86rem;
    }

    .toast-message {
        font-size: 0.79rem;
    }

    .toast-close-button {
        font-size: 1.15rem;
    }
}