/* Всплывающие уведомления */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4ccd3d;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 350px;
    font-size: 14px;
    line-height: 1.4;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out, opacity 0.3s;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.notification-toast.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-toast.success {
    background: #4ccd3d;
    border-left: 4px solid #2e7d32;
}

.notification-toast.error {
    background: #f44336;
    border-left: 4px solid #c62828;
}

.notification-toast.info {
    background: #2196f3;
    border-left: 4px solid #1565c0;
}

.notification-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

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

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification-toast.show {
        transform: translateY(0);
    }
    
    .notification-toast.hide {
        transform: translateY(-100px);
    }
} 