#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

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

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

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

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

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


.nav-link {
    padding: .5rem .5rem !important;
}

.toast {
    min-width: 300px;  /* Ensure toast has a minimum width */
}

.toast-header {
    background-color: #f8f9fa;  /* Light background for the header */
    color: #495057;  /* Dark text for visibility */
}

.toast .close {
    opacity: 1;   /* Ensure the close button is visible */
    color: #000;  /* Default black color for the close button */
    font-size: 1.5rem; /* Increase close button size if necessary */
    margin-left: auto; /* Align close button to the right */
}

/* Position toast correctly at the top-right of the page */
.toast-container {
    z-index: 1050;
}