/* Уведомления */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.notification {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
    overflow: hidden;
    position: relative;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #2a7d2e;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    position: relative;
    z-index: 2;
}

.notification-content i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-success i {
    color: #2a7d2e;
}

.notification-error i {
    color: #dc3545;
}

.notification-content span {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.notification-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a7d2e, #3fbf6b);
    animation: progress 5s linear forwards;
}

.notification-error .notification-progress {
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}