/* ===========================================
     SNACKBAR STYLING
   =========================================== */

.snackbar {
    position: fixed;
    bottom: -100px;
    right: 30px;
    min-width: 320px;
    max-width: 450px;
    padding: 14px 20px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
}

.snackbar.show {
    bottom: 30px;
    opacity: 1;
}

/* Snackbar Variants matching e-VOTE Theme */
.snackbar-success {
    background-color: #0b5d2a;
    border-left: 6px solid #2ecc71;
}

.snackbar-error {
    background-color: #8b0000;
    border-left: 6px solid #e74c3c;
}

.snackbar-warning {
    background-color: #b8860b;
    border-left: 6px solid #f1c40f;
}

.snackbar-info {
    background-color: #1f4e5b;
    border-left: 6px solid #3498db;
}

.snackbar-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.snackbar-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.snackbar-close:hover {
    opacity: 1;
}