﻿#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Общий стиль для уведомлений */
.notification {
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: slide-in 0.3s ease-out forwards;
}

/* Анимация появления */
@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация исчезновения */
@keyframes fade-out {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Цветовые стили для разных типов уведомлений */
.notification.success {
    background-color: #4caf50;
}

.notification.error {
    background-color: #f44336;
}

.notification.warning {
    background-color: #ff9800;
}

.notification.info {
    background-color: #2196f3;
}

/* Кнопка закрытия */
.notification .close-btn {
    float: right;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: white;
}