# Стили для сообщений

.notification-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 250px;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-banner.hidden {
    animation: slideOut 0.5s ease-in forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification_success {
    background-color: #28a745;
}

.notification_error {
    background-color: #dc3545;
}

.notification_warning {
    background-color: #ffc107;
    color: #000;
}

.notification_info {
    background-color: #17a2b8;
}

.close-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    opacity: 0.8;
}

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
