/* #toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-bottom: 15px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    font-size: 17px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.toast.warning {
    background-color: #f44336;
}

.toast.success {
    background-color: #56E758;
}

@-webkit-keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
} */

#toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-bottom: 15px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    font-size: 17px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.toast.warning {
    background-color: #f44336;
}

.toast.success {
    background-color: #C3E6CB;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none; /* Initially hidden */
}


@-webkit-keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
}


.modal-backdrop {
    z-index: 1040 ; /* Lower backdrop z-index */
}

.modal {
    z-index: 1050 ; /* Ensure modal content is above backdrop */
}

.modal-open .overlay {
  display: none ; /* force overlay off when modal is closed */
}