/* Уведомления в левом верхнем углу */
.notification-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
}

.notification {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    display: flex;
    align-items: center;
    transform: translateX(-110%);
    animation: slideIn 0.3s forwards;
    opacity: 0.95;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.error {
    background: var(--task-priority-high);
    border-left: 5px solid #b71c1c;
}

.notification.success {
    background: var(--task-priority-low);
    border-left: 5px solid #1b5e20;
}

.notification-icon {
    margin-right: 12px;
    font-size: 14px;
}

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 10px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}