/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    z-index: 10000;
    transition: all 3s ease-in-out;
    animation: fade 4s ease-in-out; /* Добавляем animation */
}

.notification.success {
    background-color: #4CAF50; /* Зеленый */
}

.notification.error {
    background-color: #f44336; /* Красный */
}

@keyframes fade {
    0%, 25% {
        opacity: 0;
        transform: translateY(-20px);
    }
    25%, 50% {
        opacity: 1;
        transform: translateY(0);
    }
    50%, 75% {
        opacity: 1;
        transform: translateY(0);
    
    }
    75%, 100% {
        opacity: 0;
        transform: translateY(-20px);
        display: none;
    }
}
