/* General Toastr Styles */
.toast-title {
    font-weight: 700;
    color: #000000 !important; 
}
.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    background-color: white !important;
    color: #000 !important; /* Black text for links and labels */
}
.toast-message a, .toast-message label {
    background-color: white !important;
    color: #000 !important;
}
.toast-message a:hover {
    color: #000000 !important;
    text-decoration: none;
}
.toast-close-button {
    position: relative;
    right: -.3em;
    top: -.3em;
    float: right;
    font-size: 20px;
    font-weight: 700;
    color: #000000 !important; /* Black close button */
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
    line-height: 1;
}
.toast-close-button:focus, .toast-close-button:hover {
    color: #000 !important;
    text-decoration: none;
    cursor: pointer;
    opacity: .4;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}
.rtl .toast-close-button {
    left: -.3em;
    float: left;
    right: .3em;
}
button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
}
.toast-top-center, .toast-bottom-center, .toast-top-full-width, .toast-bottom-full-width {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.toast-top-left {
    top: 12px;
    left: 12px;
}
.toast-top-right, .toast-bottom-right {
    right: 12px;
    top: 12px;
    bottom: 12px;
}
.toast-bottom-left {
    bottom: 12px;
    left: 12px;
}
#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}
#toast-container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#toast-container > div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #000000 !important; /* Black text */
    opacity: .8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
    background-color: #ffffff !important; /* White background */
}
#toast-container > div.rtl {
    direction: rtl;
    padding: 15px 50px 15px 15px;
    background-position: right 15px center;
}
#toast-container > div:hover {
    -moz-box-shadow: 0 0 12px #000;
    -webkit-box-shadow: 0 0 12px #000;
    box-shadow: 0 0 12px #000;
    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: alpha(opacity=100);
    cursor: pointer;
}

/* Notification Types with White Background and Black Text */
#toast-container > .toast-info,
#toast-container > .toast-error,
#toast-container > .toast-success,
#toast-container > .toast-warning {
    background-color: #ffffff !important; /* White background for all types */
    color: #000000 !important; /* Black text for all types */
}

/* Default Toast Color Override */
.toast, .toast-success, .toast-error, .toast-info, .toast-warning {
    background-color: #ffffff !important; /* White background for all types */
    color: #000000 !important; /* Black text for all types */
}

/* Progress Bar with Black Color */
.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000000 !important; /* Black progress bar */
    opacity: .4;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}

/* Media Query Adjustments for Small Screens */
@media all and (max-width: 240px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 11em;
    }
    #toast-container > div.rtl {
        padding: 8px 50px 8px 8px;
    }
    #toast-container .toast-close-button {
        right: -.2em;
        top: -.2em;
    }
    #toast-container .rtl .toast-close-button {
        left: -.2em;
        right: .2em;
    }
}
@media all and (min-width: 241px) and (max-width: 480px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 18em;
        background-color: white !important;
        color: #000 !important;
    }
    #toast-container > div.rtl {
        padding: 8px 50px 8px 8px;
        background-color: white !important;
        color: #000 !important;
    }
    #toast-container .toast-close-button {
        right: -.2em;
        top: -.2em;
        background-color: white !important;
        color: #000 !important;
    }
    #toast-container .rtl .toast-close-button {
        left: -.2em;
        right: .2em;
        background-color: white !important;
        color: #000 !important;
    }
}
@media all and (min-width: 481px) and (max-width: 768px) {
    #toast-container > div {
        padding: 15px 15px 15px 50px;
        width: 25em;
        background-color: white !important;
        color: #000 !important;
    }
    #toast-container > div.rtl {
        padding: 15px 50px 15px 15px;
        background-color: white !important;
        color: #000 !important;
    }
}
