/* Shared notification/toast styles for voting and comment systems */
.vote-feedback,
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vote-feedback--success,
.notification--success {
    background-color: #16a085;
}

.vote-feedback--error,
.notification--error {
    background-color: #e74c3c;
}

.notification--info {
    background-color: #3498db;
}

.vote-feedback--show,
.notification--show {
    transform: translateX(0);
}

@media (max-width: 767px) {

    .vote-feedback,
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
        transform: translateY(-100%);
    }

    .vote-feedback--show,
    .notification--show {
        transform: translateY(0);
    }
}