/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 250px;
    max-width: 400px;
    background-color: #11111199; /* Black background for all toasts */
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 15px 30px;
    position: fixed;
    top: -100px; /* Start from above the screen */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: visibility 0s, opacity 0.3s ease-in-out, top 0.5s ease-in-out;
    opacity: 0;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    backdrop-filter: blur(1px);
}

/* Show Toast (slide down and fade in) */
.toast.show {
    visibility: visible;
    opacity: 1;
    top: 20px; /* Move the toast down into view */
}

/* Hide Toast (slide up and fade out) */
.toast.hide {
    visibility: hidden;
    opacity: 0;
    top: -100px; /* Move the toast up (off-screen) */
}

/* Success Style (green border-bottom) */
.toast.success {
    border-bottom: 5px solid #28a745; /* Green border */
}

/* Info Style (blue border-bottom) */
.toast.info {
    border-bottom: 5px solid #17a2b8; /* Blue border */
}

/* Error Style (red border-bottom) */
.toast.error {
    border-bottom: 5px solid #dc3545; /* Red border */
}

/* Warning Style (yellow border-bottom) */
.toast.warning {
    border-bottom: 5px solid #ffc107; /* Yellow border */
}

/* Toast Container (optional: if you want to add a little space between toasts) */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 1s;
}


/* Adding some spacing between toast notifications */
.toast + .toast {
    margin-top: 75px;
    transition: 1s;
}
.toast{

    transition: 1s;
}
