/* Контейнер уведомлений */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;

    display: flex;
    flex-direction: column;
    gap: 10px;

    width: min(360px, calc(100vw - 40px));
    pointer-events: none;
}

/* Базовое уведомление */
.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 16px;

    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);

    font-size: var(--font-size-sm);

    pointer-events: auto;
    animation: notification-appear 0.2s ease;
}

/* Типы уведомлений */
.notification-success {
    border-left-color: var(--success);
}

.notification-error {
    border-left-color: var(--danger);
}

.notification-warning {
    border-left-color: var(--warning);
}

.notification-info {
    border-left-color: var(--accent);
}

/* Кнопка закрытия */
.notification-close {
    flex-shrink: 0;
    padding: 0 2px;

    background: transparent;
    border: none;

    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
}

.notification-close:hover {
    color: var(--text);
}

/* Анимация появления */
@keyframes notification-appear {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Мобильная адаптация */
@media (max-width: 520px) {
    .notification-container {
        top: 12px;
        right: 12px;
        width: calc(100vw - 24px);
    }
}
