  /* Snackbar container */
  .snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #323232;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Show the snackbar when added the 'show' class */
.snackbar.show {
    visibility: visible;
    animation: fadein 0.5s;
}

/* Animations to fade the snackbar in and out */
@keyframes fadein {
    from { bottom: 0; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

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

/* Action button in the snackbar */
.snackbar .action {
    color: #ffca28;
    cursor: pointer;
    margin-left: 20px;
}

.snackbar-error {
    background-color: #f8d7da;
    color: #721c24;
}