@charset "UTF-8";

/* ========================================================================
   TOASTR MODERN UPDATED CSS FOR .NET 8 (Clean & Optimized)
   ======================================================================== */

#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

    #toast-container * {
        box-sizing: border-box;
    }

    #toast-container > div {
        position: relative;
        pointer-events: auto;
        overflow: hidden;
        margin: 0 0 10px;
        padding: 15px 15px 15px 55px; /* Extra space for icons */
        width: 320px;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        color: #FFFFFF;
        opacity: 0.95;
        transition: transform 0.2s ease-in-out, opacity 0.2s;
    }

        #toast-container > div:hover {
            box-shadow: 0 6px 15px rgba(0,0,0,0.25);
            opacity: 1;
            cursor: pointer;
        }

/* --- TITLE & MESSAGE --- */
.toast-title {
    font-weight: 700;
    font-size: 15px;
}

.toast-message {
    word-wrap: break-word;
    font-size: 14px;
}

/* --- MODERN FONT-AWESOME ICONS --- */
#toast-container > div::before {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
    opacity: 0.8;
}

.toast-info {
    background-color: #2F96B4;
}

    .toast-info::before {
        content: "\f05a";
    }
/* info-circle */

.toast-error {
    background-color: #BD362F;
}

    .toast-error::before {
        content: "\f057";
    }
/* times-circle */

.toast-success {
    background-color: #51A351;
}

    .toast-success::before {
        content: "\f058";
    }
/* check-circle */

.toast-warning {
    background-color: #F89406;
}

    .toast-warning::before {
        content: "\f071";
    }
/* exclamation-triangle */

/* --- CLOSE BUTTON --- */
.toast-close-button {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    opacity: 0.6;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .toast-close-button:hover {
        opacity: 1;
    }

/* --- PROGRESS BAR --- */
.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000;
    opacity: 0.2;
}

/* --- POSITIONS --- */
.toast-top-right {
    top: 20px;
    right: 20px;
}

.toast-top-left {
    top: 20px;
    left: 20px;
}

.toast-bottom-right {
    bottom: 20px;
    right: 20px;
}

.toast-bottom-left {
    bottom: 20px;
    left: 20px;
}

.toast-top-center, .toast-top-full-width {
    top: 0;
    right: 0;
    width: 100%;
}

.toast-bottom-center, .toast-bottom-full-width {
    bottom: 0;
    right: 0;
    width: 100%;
}

/* --- RESPONSIVE --- */
@media all and (max-width: 480px) {
    #toast-container > div {
        width: 90vw;
        margin: 5px auto;
    }
}
