.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    background: rgba(23, 25, 28, 0.95);
    border-radius: 12px;
    padding: 0;
    width: 360px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    pointer-events: all;
}

.notification-show {
    transform: translateX(0);
}

.notification-hide {
    transform: translateX(120%);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.notification-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    width: 24px;
    height: 24px;
}

.notification-message {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-primary);
}

.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.notification-progress {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.notification-progress::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: currentColor;
}

/* Типы уведомлений */
.notification-success {
    border-left: 4px solid #4CAF50;
    color: #4CAF50;
}

.notification-error {
    border-left: 4px solid #F44336;
    color: #F44336;
}

.notification-warning {
    border-left: 4px solid #FFC107;
    color: #FFC107;
}

.notification-info {
    border-left: 4px solid #2196F3;
    color: #2196F3;
}

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

@keyframes slide-out {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(120%);
    }
}

/* Медиа-запросы */
@media (max-width: 480px) {
    .notification-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    
    .notification {
        width: 100%;
    }
} 